org.apache.activemq.broker.jmx
Class ConnectorView
java.lang.Object
org.apache.activemq.broker.jmx.ConnectorView
- All Implemented Interfaces:
- ConnectorViewMBean, Service
public class ConnectorView
- extends java.lang.Object
- implements ConnectorViewMBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorView
public ConnectorView(Connector connector)
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface Service
- Throws:
java.lang.Exception
getBrokerName
public java.lang.String getBrokerName()
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface Service
- Throws:
java.lang.Exception
getBrokerURL
public java.lang.String getBrokerURL()
getBrokerInfo
public BrokerInfo getBrokerInfo()
resetStatistics
public void resetStatistics()
- Resets the statistics
- Specified by:
resetStatistics
in interface ConnectorViewMBean
getEnqueueCount
public long getEnqueueCount()
- Returns the number of messages enqueued on this connector
- Specified by:
getEnqueueCount
in interface ConnectorViewMBean
- Returns:
- the number of messages enqueued on this connector
getDequeueCount
public long getDequeueCount()
- Returns the number of messages dequeued on this connector
- Specified by:
getDequeueCount
in interface ConnectorViewMBean
- Returns:
- the number of messages dequeued on this connector
Copyright © 2009 Apache Software Foundation. All Rights Reserved.