|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.jmx.ConnectionView
public class ConnectionView
Constructor Summary | |
---|---|
ConnectionView(Connection connection)
|
Method Summary | |
---|---|
String |
getConnectionId()
Returns the JMS connection id for this connection |
long |
getDequeueCount()
Returns the number of messages dequeued on this connection |
int |
getDispatchQueueSize()
Returns the number of messages to be dispatched to this connection |
long |
getEnqueueCount()
Returns the number of messages enqueued on this connection |
String |
getRemoteAddress()
Returns the source address for this connection |
boolean |
isActive()
|
boolean |
isBlocked()
|
boolean |
isConnected()
|
boolean |
isSlow()
|
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 ConnectionView(Connection connection)
Method Detail |
---|
public void start() throws Exception
start
in interface Service
Exception
public void stop() throws Exception
stop
in interface Service
Exception
public boolean isSlow()
isSlow
in interface ConnectionViewMBean
public boolean isBlocked()
isBlocked
in interface ConnectionViewMBean
public boolean isConnected()
isConnected
in interface ConnectionViewMBean
public boolean isActive()
isActive
in interface ConnectionViewMBean
public int getDispatchQueueSize()
getDispatchQueueSize
in interface ConnectionViewMBean
public void resetStatistics()
resetStatistics
in interface ConnectionViewMBean
public long getEnqueueCount()
getEnqueueCount
in interface ConnectionViewMBean
public long getDequeueCount()
getDequeueCount
in interface ConnectionViewMBean
public String getRemoteAddress()
ConnectionViewMBean
getRemoteAddress
in interface ConnectionViewMBean
public String getConnectionId()
ConnectionViewMBean
getConnectionId
in interface ConnectionViewMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |