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 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
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.