public class ConnectorView extends Object implements ConnectorViewMBean
| Constructor and Description |
|---|
ConnectorView(Connector connector) |
| Modifier and Type | Method and Description |
|---|---|
int |
connectionCount()
Returns the number of current connections
|
void |
disableStatistics()
disable statistics gathering
|
void |
enableStatistics()
enable statistics gathering
|
org.apache.activemq.command.BrokerInfo |
getBrokerInfo() |
String |
getBrokerName() |
String |
getBrokerURL() |
String |
getUpdateClusterFilter() |
boolean |
isAllowLinkStealingEnabled()
Returns true if link stealing is enabled on this Connector
|
boolean |
isRebalanceClusterClients()
Returns true if rebalancing cluster clients is enabled
|
boolean |
isStatisticsEnabled()
Returns true if statistics is enabled
|
boolean |
isUpdateClusterClients()
Returns true if updating cluster client URL is enabled
|
boolean |
isUpdateClusterClientsOnRemove()
Returns true if updating cluster client URL when brokers are removed is
enabled
|
void |
resetStatistics()
Resets the statistics
|
void |
start() |
void |
stop() |
public ConnectorView(Connector connector)
public void start() throws Exception
start in interface org.apache.activemq.ServiceExceptionpublic String getBrokerName()
public void stop() throws Exception
stop in interface org.apache.activemq.ServiceExceptionpublic String getBrokerURL()
public org.apache.activemq.command.BrokerInfo getBrokerInfo()
public void resetStatistics()
resetStatistics in interface ConnectorViewMBeanpublic void enableStatistics()
enableStatistics in interface ConnectorViewMBeanpublic void disableStatistics()
disableStatistics in interface ConnectorViewMBeanpublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface ConnectorViewMBeanpublic int connectionCount()
connectionCount in interface ConnectorViewMBeanpublic boolean isUpdateClusterClients()
isUpdateClusterClients in interface ConnectorViewMBeanpublic boolean isRebalanceClusterClients()
isRebalanceClusterClients in interface ConnectorViewMBeanpublic boolean isUpdateClusterClientsOnRemove()
isUpdateClusterClientsOnRemove in interface ConnectorViewMBeanpublic String getUpdateClusterFilter()
getUpdateClusterFilter in interface ConnectorViewMBeanpublic boolean isAllowLinkStealingEnabled()
ConnectorViewMBeanisAllowLinkStealingEnabled in interface ConnectorViewMBeanCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.