public final class ClusterManager extends Object implements ActiveMQComponent
ClusterConnection
s, BroadcastGroup
s and Bridge
s.
Note that ClusterConnectionBridge
s 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 ActiveMQComponent
Exception
public void stop() throws Exception
stop
in interface ActiveMQComponent
Exception
public void flushExecutor()
public boolean isStarted()
isStarted
in interface ActiveMQComponent
public Set<ClusterConnection> getClusterConnections()
public Set<BroadcastGroup> getBroadcastGroups()
public ClusterConnection getClusterConnection(String name)
public void removeClusterLocator(ServerLocatorInternal serverLocator)
public void deployBridge(BridgeConfiguration config) throws Exception
Exception
public void clear()
public void informClusterOfBackup(String name)
Copyright © 2017 JBoss by Red Hat. All rights reserved.