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 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

resetStatistics

void resetStatistics()
Resets the statistics


getRemoteAddress

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

Returns:
the souce address for this connection


Copyright © 2005-2011. All Rights Reserved.