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, wait
asyncStop
public 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 ActiveMQComponent
Exception
public void stop()
stop
in interface ActiveMQComponent
public void announceBackup()
public void activated()
public boolean isStarted()
isStarted
in interface ActiveMQComponent
public boolean isBackupAnnounced()
Copyright © 2021 JBoss by Red Hat. All rights reserved.