|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.broker.jmx.ConnectorView
public class ConnectorView
| Constructor Summary | |
|---|---|
ConnectorView(Connector connector)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorView(Connector connector)
| Method Detail |
|---|
public void start()
throws Exception
start in interface ServiceExceptionpublic String getBrokerName()
public void stop()
throws Exception
stop in interface ServiceExceptionpublic 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 ConnectorViewMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||