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, getMBeanInfo
cacheMBeanInfo, 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, setImplementation
public ClusterConnectionControlImpl(ClusterConnection clusterConnection, StorageManager storageManager, ClusterConnectionConfiguration configuration) throws Exception
Exception
public String getAddress()
ClusterConnectionControl
getAddress
in interface ClusterConnectionControl
public String getDiscoveryGroupName()
ClusterConnectionControl
getDiscoveryGroupName
in interface ClusterConnectionControl
public int getMaxHops()
ClusterConnectionControl
getMaxHops
in interface ClusterConnectionControl
public String getName()
ClusterConnectionControl
getName
in interface ClusterConnectionControl
public long getRetryInterval()
ClusterConnectionControl
getRetryInterval
in interface ClusterConnectionControl
public String getNodeID()
ClusterConnectionControl
getNodeID
in interface ClusterConnectionControl
public String[] getStaticConnectors()
ClusterConnectionControl
getStaticConnectors
in interface ClusterConnectionControl
public String getStaticConnectorsAsJSON() throws Exception
ClusterConnectionControl
getStaticConnectorsAsJSON
in interface ClusterConnectionControl
Exception
public boolean isDuplicateDetection()
ClusterConnectionControl
isDuplicateDetection
in interface ClusterConnectionControl
public boolean isForwardWhenNoConsumers()
ClusterConnectionControl
isForwardWhenNoConsumers
in interface ClusterConnectionControl
public String getTopology()
ClusterConnectionControl
getTopology
in interface ClusterConnectionControl
public Map<String,String> getNodes() throws Exception
ClusterConnectionControl
getNodes
in interface ClusterConnectionControl
Exception
public boolean isStarted()
HornetQComponentControl
true
if this component is started, false
else.isStarted
in interface HornetQComponentControl
public void start() throws Exception
HornetQComponentControl
start
in interface HornetQComponentControl
Exception
public void stop() throws Exception
HornetQComponentControl
stop
in interface HornetQComponentControl
Exception
protected MBeanOperationInfo[] fillMBeanOperationInfo()
fillMBeanOperationInfo
in class AbstractControl
Copyright © 2018 JBoss by Red Hat. All rights reserved.