public class ClusterConnectionControlImpl extends AbstractControl implements ClusterConnectionControl
storageManager| Constructor and Description |
|---|
ClusterConnectionControlImpl(ClusterConnection clusterConnection,
StorageManager storageManager,
ClusterConnectionConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected MBeanOperationInfo[] |
fillMBeanOperationInfo() |
String |
getAddress()
Returns the address used by this cluster connection.
|
String |
getDiscoveryGroupName()
Returns the name of the discovery group used by this cluster connection.
|
int |
getMaxHops()
Returns the maximum number of hops used by this cluster connection.
|
String |
getName()
Returns the configuration name of this cluster connection.
|
String |
getNodeID()
Returns the node ID used by this cluster connection.
|
Map<String,String> |
getNodes()
Returns a map of the nodes connected to this cluster connection.
|
long |
getRetryInterval()
Returns the connection retry interval used by this cluster connection.
|
String[] |
getStaticConnectors()
Returns the list of static connectors
|
String |
getStaticConnectorsAsJSON()
Returns the list of static connectors as JSON
|
String |
getTopology()
Return the Topology that this Cluster Connection knows about
|
boolean |
isDuplicateDetection()
Return whether this cluster connection use duplicate detection.
|
boolean |
isForwardWhenNoConsumers()
Return whether this cluster connection forward messages when it has no local consumers.
|
boolean |
isStarted()
Returns
true if this component is started, false else. |
void |
start()
Starts this component.
|
void |
stop()
Stops this component.
|
blockOnIO, clearIO, getMBeanInfocacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic ClusterConnectionControlImpl(ClusterConnection clusterConnection, StorageManager storageManager, ClusterConnectionConfiguration configuration) throws Exception
Exceptionpublic String getAddress()
ClusterConnectionControlgetAddress in interface ClusterConnectionControlpublic String getDiscoveryGroupName()
ClusterConnectionControlgetDiscoveryGroupName in interface ClusterConnectionControlpublic int getMaxHops()
ClusterConnectionControlgetMaxHops in interface ClusterConnectionControlpublic String getName()
ClusterConnectionControlgetName in interface ClusterConnectionControlpublic long getRetryInterval()
ClusterConnectionControlgetRetryInterval in interface ClusterConnectionControlpublic String getNodeID()
ClusterConnectionControlgetNodeID in interface ClusterConnectionControlpublic String[] getStaticConnectors()
ClusterConnectionControlgetStaticConnectors in interface ClusterConnectionControlpublic String getStaticConnectorsAsJSON() throws Exception
ClusterConnectionControlgetStaticConnectorsAsJSON in interface ClusterConnectionControlExceptionpublic boolean isDuplicateDetection()
ClusterConnectionControlisDuplicateDetection in interface ClusterConnectionControlpublic boolean isForwardWhenNoConsumers()
ClusterConnectionControlisForwardWhenNoConsumers in interface ClusterConnectionControlpublic String getTopology()
ClusterConnectionControlgetTopology in interface ClusterConnectionControlpublic Map<String,String> getNodes() throws Exception
ClusterConnectionControlgetNodes in interface ClusterConnectionControlExceptionpublic boolean isStarted()
HornetQComponentControltrue if this component is started, false else.isStarted in interface HornetQComponentControlpublic void start()
throws Exception
HornetQComponentControlstart in interface HornetQComponentControlExceptionpublic void stop()
throws Exception
HornetQComponentControlstop in interface HornetQComponentControlExceptionprotected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo in class AbstractControlCopyright © 2012 JBoss by Red Hat. All Rights Reserved.