public class BackupManager extends Object implements ActiveMQComponent
| Modifier and Type | Class and Description |
|---|---|
class |
BackupManager.BackupConnector |
| Constructor and Description |
|---|
BackupManager(ActiveMQServer server,
ExecutorFactory executorFactory,
ScheduledExecutorService scheduledExecutor,
NodeManager nodeManager,
Configuration configuration,
ClusterManager clusterManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
activated() |
void |
announceBackup() |
List<BackupManager.BackupConnector> |
getBackupConnectors()
This is meant for testing and assertions, please don't do anything stupid with it!
I mean, please don't use it outside of testing context
|
boolean |
isBackupAnnounced() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncStoppublic BackupManager(ActiveMQServer server, ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, NodeManager nodeManager, Configuration configuration, ClusterManager clusterManager)
public List<BackupManager.BackupConnector> getBackupConnectors()
public void start()
throws Exception
start in interface ActiveMQComponentExceptionpublic void stop()
stop in interface ActiveMQComponentpublic void announceBackup()
public void activated()
public boolean isStarted()
isStarted in interface ActiveMQComponentpublic boolean isBackupAnnounced()
Copyright © 2025 JBoss by Red Hat. All rights reserved.