public class BackupManager extends Object implements org.apache.activemq.artemis.core.server.ActiveMQComponent
| Constructor and Description |
|---|
BackupManager(ActiveMQServer server,
org.apache.activemq.artemis.utils.ExecutorFactory executorFactory,
ScheduledExecutorService scheduledExecutor,
NodeManager nodeManager,
Configuration configuration,
ClusterManager clusterManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
activated() |
void |
announceBackup() |
boolean |
isBackupAnnounced() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
public BackupManager(ActiveMQServer server, org.apache.activemq.artemis.utils.ExecutorFactory executorFactory, ScheduledExecutorService scheduledExecutor, NodeManager nodeManager, Configuration configuration, ClusterManager clusterManager)
public void start()
throws Exception
start in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic void stop()
stop in interface org.apache.activemq.artemis.core.server.ActiveMQComponentpublic void announceBackup()
public void activated()
public boolean isStarted()
isStarted in interface org.apache.activemq.artemis.core.server.ActiveMQComponentpublic boolean isBackupAnnounced()
Copyright © 2023 The Apache Software Foundation. All rights reserved.