Class StandaloneHAManager
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.cluster.ha.StandaloneHAManager
-
- All Implemented Interfaces:
ActiveMQComponent,HAManager
public class StandaloneHAManager extends Object implements HAManager
-
-
Constructor Summary
Constructors Constructor Description StandaloneHAManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,ActiveMQServer>getBackupServers()return the current backup serversbooleanisStarted()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
-
-
-
-
Method Detail
-
getBackupServers
public Map<String,ActiveMQServer> getBackupServers()
Description copied from interface:HAManagerreturn the current backup servers- Specified by:
getBackupServersin interfaceHAManager- Returns:
- the backups
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponent- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponent- Throws:
Exception
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponent
-
-