public interface ClusterConnectionControl extends ActiveMQComponentControl
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the address used by this cluster connection.
|
Map<String,Object> |
getBridgeMetrics(String nodeId)
The bridge metrics for the given node in the cluster connection
The messagesPendingAcknowledgement counter is incremented when the bridge is has forwarded a message but is waiting acknowledgement from the other broker.
|
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 |
getMessageLoadBalancingType()
Return the type of message load balancing strategy this bridge will use.
|
long |
getMessagesAcknowledged()
The messagesAcknowledged counter is the number of messages actually received by a remote broker for all
bridges in this cluster connection
This is a cumulative total and the number of outstanding pending messages for the cluster connection
can be computed by subtracting messagesAcknowledged from messagesPendingAcknowledgement.
|
long |
getMessagesPendingAcknowledgement()
The messagesPendingAcknowledgement counter is incremented when any bridge in the cluster connection has
forwarded a message and is waiting acknowledgement from the other broker.
|
Map<String,Object> |
getMetrics()
The current metrics for this cluster connection (aggregate over all bridges to other nodes)
The messagesPendingAcknowledgement counter is incremented when any bridge in the cluster connection has
forwarded a message and is waiting acknowledgement from the other broker.
|
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.
|
Object[] |
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.
|
isStarted, start, stop
String getName()
String getAddress()
String getNodeID()
boolean isDuplicateDetection()
String getMessageLoadBalancingType()
String getTopology()
int getMaxHops()
Object[] getStaticConnectors()
String getStaticConnectorsAsJSON() throws Exception
Exception
String getDiscoveryGroupName()
long getRetryInterval()
Map<String,String> getNodes() throws Exception
Exception
long getMessagesPendingAcknowledgement()
long getMessagesAcknowledged()
Map<String,Object> getMetrics()
Map<String,Object> getBridgeMetrics(String nodeId) throws Exception
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.