org.apache.activemq.broker.jmx
Interface ConnectionViewMBean

All Superinterfaces:
Service
All Known Implementing Classes:
ConnectionView

public interface ConnectionViewMBean
extends Service


Method Summary
 java.lang.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
 java.lang.String getRemoteAddress()
          Returns the source address for this connection
 boolean isActive()
           
 boolean isBlocked()
           
 boolean isConnected()
           
 boolean isSlow()
           
 void resetStatistics()
          Resets the statistics
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Method Detail

isSlow

boolean isSlow()
Returns:
true if the Connection is slow

isBlocked

boolean isBlocked()
Returns:
if after being marked, the Connection is still writing

isConnected

boolean isConnected()
Returns:
true if the Connection is connected

isActive

boolean isActive()
Returns:
true if the Connection is active

getDispatchQueueSize

int getDispatchQueueSize()
Returns the number of messages to be dispatched to this connection


resetStatistics

void resetStatistics()
Resets the statistics


getEnqueueCount

long getEnqueueCount()
Returns the number of messages enqueued on this connection

Returns:
the number of messages enqueued on this connection

getDequeueCount

long getDequeueCount()
Returns the number of messages dequeued on this connection

Returns:
the number of messages dequeued on this connection

getRemoteAddress

java.lang.String getRemoteAddress()
Returns the source address for this connection

Returns:
the souce address for this connection

getConnectionId

java.lang.String getConnectionId()
Returns the JMS connection id for this connection

Returns:
the JMS connection id for this connection


Copyright © 2010 Apache Software Foundation. All Rights Reserved.