public final class ClusterManager extends Object implements ActiveMQComponent
ClusterConnections, BroadcastGroups and Bridges.
Note that ClusterConnectionBridges extend Bridges but are controlled over through
ClusterConnectionImpl. As a node is discovered a new ClusterConnectionBridge is
deployed.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterManager.IncomingInterceptorLookingForExceptionMessage |
| Constructor and Description |
|---|
ClusterManager(ExecutorFactory executorFactory,
ActiveMQServer server,
PostOffice postOffice,
ScheduledExecutorService scheduledExecutor,
ManagementService managementService,
Configuration configuration,
NodeManager nodeManager,
boolean backup) |
public ClusterManager(ExecutorFactory executorFactory, ActiveMQServer server, PostOffice postOffice, ScheduledExecutorService scheduledExecutor, ManagementService managementService, Configuration configuration, NodeManager nodeManager, boolean backup)
public QuorumManager getQuorumManager()
public ClusterController getClusterController()
public HAManager getHAManager()
public void addClusterChannelHandler(Channel channel, Acceptor acceptorUsed, CoreRemotingConnection remotingConnection, Activation activation)
public String describe()
public ClusterConnection getDefaultConnection(TransportConfiguration acceptorConfig)
public String getNodeId()
public String getBackupGroupName()
public String getScaleDownGroupName()
public void start()
throws Exception
start in interface ActiveMQComponentExceptionpublic void stop()
throws Exception
stop in interface ActiveMQComponentExceptionpublic void flushExecutor()
public boolean isStarted()
isStarted in interface ActiveMQComponentpublic Set<ClusterConnection> getClusterConnections()
public Set<BroadcastGroup> getBroadcastGroups()
public ClusterConnection getClusterConnection(String name)
public void removeClusterLocator(ServerLocatorInternal serverLocator)
public void deployBridge(BridgeConfiguration config) throws Exception
Exceptionpublic void clear()
public void informClusterOfBackup(String name)
Copyright © 2018 JBoss by Red Hat. All rights reserved.