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() |
boolean |
isStatisticsEnabled()
Returns true if statistics is enabled
|
void |
resetStatistics()
Resets the statistics
|
void |
start() |
void |
stop() |
public ConnectorView(Connector connector)
public void start()
throws Exception
public String getBrokerName()
public String getBrokerURL()
public 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 ConnectorViewMBeanCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.