Class BackupManager
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.cluster.BackupManager
-
- All Implemented Interfaces:
ActiveMQComponent
public class BackupManager extends Object implements ActiveMQComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBackupManager.BackupConnector
-
Constructor Summary
Constructors Constructor Description BackupManager(ActiveMQServer server, ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, NodeManager nodeManager, Configuration configuration, ClusterManager clusterManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated()voidannounceBackup()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 contextbooleanisBackupAnnounced()booleanisStarted()voidstart()voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop
-
-
-
-
Constructor Detail
-
BackupManager
public BackupManager(ActiveMQServer server, ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, NodeManager nodeManager, Configuration configuration, ClusterManager clusterManager)
-
-
Method Detail
-
getBackupConnectors
public 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
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop()
- Specified by:
stopin interfaceActiveMQComponent
-
announceBackup
public void announceBackup()
-
activated
public void activated()
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
isBackupAnnounced
public boolean isBackupAnnounced()
-
-