public class ConnectorView extends java.lang.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() |
java.lang.String |
getBrokerName() |
java.lang.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 java.lang.Exception
public java.lang.String getBrokerName()
public void stop()
throws java.lang.Exception
public java.lang.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-2013 Red Hat, Inc.. All Rights Reserved.