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
|
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 String getBrokerName()
public String getBrokerURL()
public BrokerInfo getBrokerInfo()
public void resetStatistics()
resetStatistics
in interface ConnectorViewMBean
public void enableStatistics()
enableStatistics
in interface ConnectorViewMBean
public void disableStatistics()
disableStatistics
in interface ConnectorViewMBean
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface ConnectorViewMBean
public int connectionCount()
connectionCount
in interface ConnectorViewMBean
public boolean isUpdateClusterClients()
isUpdateClusterClients
in interface ConnectorViewMBean
public boolean isRebalanceClusterClients()
isRebalanceClusterClients
in interface ConnectorViewMBean
public boolean isUpdateClusterClientsOnRemove()
isUpdateClusterClientsOnRemove
in interface ConnectorViewMBean
public String getUpdateClusterFilter()
getUpdateClusterFilter
in interface ConnectorViewMBean
public boolean isAllowLinkStealingEnabled()
ConnectorViewMBean
isAllowLinkStealingEnabled
in interface ConnectorViewMBean
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.