Class ClusterConnectionControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.ClusterConnectionControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ActiveMQComponentControl,ClusterConnectionControl
public class ClusterConnectionControlImpl extends AbstractControl implements ClusterConnectionControl
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
-
Constructor Summary
Constructors Constructor Description ClusterConnectionControlImpl(ClusterConnection clusterConnection, StorageManager storageManager, ClusterConnectionConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()StringgetAddress()Map<String,Object>getBridgeMetrics(String nodeId)StringgetDiscoveryGroupName()intgetMaxHops()StringgetMessageLoadBalancingType()longgetMessagesAcknowledged()longgetMessagesPendingAcknowledgement()Map<String,Object>getMetrics()StringgetName()StringgetNodeID()Map<String,String>getNodes()longgetRetryInterval()String[]getStaticConnectors()StringgetStaticConnectorsAsJSON()StringgetTopology()booleanisDuplicateDetection()booleanisStarted()voidstart()voidstop()-
Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
-
Methods inherited from class javax.management.StandardMBean
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
-
-
-
-
Constructor Detail
-
ClusterConnectionControlImpl
public ClusterConnectionControlImpl(ClusterConnection clusterConnection, StorageManager storageManager, ClusterConnectionConfiguration configuration) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getAddress
public String getAddress()
- Specified by:
getAddressin interfaceClusterConnectionControl
-
getDiscoveryGroupName
public String getDiscoveryGroupName()
- Specified by:
getDiscoveryGroupNamein interfaceClusterConnectionControl
-
getMaxHops
public int getMaxHops()
- Specified by:
getMaxHopsin interfaceClusterConnectionControl
-
getName
public String getName()
- Specified by:
getNamein interfaceClusterConnectionControl
-
getRetryInterval
public long getRetryInterval()
- Specified by:
getRetryIntervalin interfaceClusterConnectionControl
-
getNodeID
public String getNodeID()
- Specified by:
getNodeIDin interfaceClusterConnectionControl
-
getStaticConnectors
public String[] getStaticConnectors()
- Specified by:
getStaticConnectorsin interfaceClusterConnectionControl
-
getStaticConnectorsAsJSON
public String getStaticConnectorsAsJSON() throws Exception
- Specified by:
getStaticConnectorsAsJSONin interfaceClusterConnectionControl- Throws:
Exception
-
isDuplicateDetection
public boolean isDuplicateDetection()
- Specified by:
isDuplicateDetectionin interfaceClusterConnectionControl
-
getMessageLoadBalancingType
public String getMessageLoadBalancingType()
- Specified by:
getMessageLoadBalancingTypein interfaceClusterConnectionControl
-
getTopology
public String getTopology()
- Specified by:
getTopologyin interfaceClusterConnectionControl
-
getNodes
public Map<String,String> getNodes() throws Exception
- Specified by:
getNodesin interfaceClusterConnectionControl- Throws:
Exception
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponentControl
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
getMessagesPendingAcknowledgement
public long getMessagesPendingAcknowledgement()
- Specified by:
getMessagesPendingAcknowledgementin interfaceClusterConnectionControl
-
getMessagesAcknowledged
public long getMessagesAcknowledged()
- Specified by:
getMessagesAcknowledgedin interfaceClusterConnectionControl
-
getMetrics
public Map<String,Object> getMetrics()
- Specified by:
getMetricsin interfaceClusterConnectionControl
-
getBridgeMetrics
public Map<String,Object> getBridgeMetrics(String nodeId)
- Specified by:
getBridgeMetricsin interfaceClusterConnectionControl
-
-