Package org.apache.activemq.broker.jmx
Interface ConnectorViewMBean
- All Superinterfaces:
org.apache.activemq.Service
- All Known Implementing Classes:
ConnectorView
public interface ConnectorViewMBean
extends org.apache.activemq.Service
-
Method Summary
Modifier and TypeMethodDescriptionintvoiddisable statistics gatheringvoidenable statistics gatheringlongbooleanReturns true if link stealing is enabled on this ConnectorbooleanbooleanbooleanReturns true if statistics is enabledbooleanbooleanvoidResets the statisticsMethods inherited from interface org.apache.activemq.Service
start, stop
-
Method Details
-
connectionCount
int connectionCount() -
resetStatistics
void resetStatistics()Resets the statistics -
enableStatistics
void enableStatistics()enable statistics gathering -
disableStatistics
void disableStatistics()disable statistics gathering -
isStatisticsEnabled
boolean isStatisticsEnabled()Returns true if statistics is enabled- Returns:
- true if statistics is enabled
-
isAllowLinkStealingEnabled
boolean isAllowLinkStealingEnabled()Returns true if link stealing is enabled on this Connector- Returns:
- true if link stealing is enabled.
-
isUpdateClusterClients
boolean isUpdateClusterClients()- Returns:
- true if update client connections when brokers leave/join a cluster
-
isRebalanceClusterClients
boolean isRebalanceClusterClients()- Returns:
- true if clients should be re-balanced across the cluster
-
isUpdateClusterClientsOnRemove
boolean isUpdateClusterClientsOnRemove()- Returns:
- true if clients should be updated when a broker is removed from a broker
-
getUpdateClusterFilter
String getUpdateClusterFilter()- Returns:
- The comma separated string of regex patterns to match broker names for cluster client updates
-
getMaxConnectionExceededCount
long getMaxConnectionExceededCount()- Returns:
- The number of occurrences the max connection count has been exceed
-
isStarted
boolean isStarted()- Returns:
- true if transport connector is started
-