Interface ConnectionViewMBean

All Superinterfaces:
org.apache.activemq.Service
All Known Implementing Classes:
ConnectionView

public interface ConnectionViewMBean extends org.apache.activemq.Service
  • Method Details

    • 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

      String getRemoteAddress()
      Returns the source address for this connection
      Returns:
      the source address for this connection
    • getClientId

      String getClientId()
      Returns the client identifier for this connection
      Returns:
      the the client identifier for this connection
    • getDispatchQueueSize

      int getDispatchQueueSize()
      Returns the number of messages to be dispatched to this connection
      Returns:
      the number of messages pending dispatch
    • getUserName

      String getUserName()
      Returns the User Name used to authorize creation of this Connection. This value can be null if display of user name information is disabled.
      Returns:
      the name of the user that created this Connection
    • getConsumers

      ObjectName[] getConsumers()
      Returns the ObjectNames of all the Consumers created by this Connection.
      Returns:
      the ObjectNames of all Consumers created by this Connection.
    • getProducers

      ObjectName[] getProducers()
      Returns the ObjectNames of all the Producers created by this Connection.
      Returns:
      the ObjectNames of all Producers created by this Connection.
    • getActiveTransactionCount

      int getActiveTransactionCount()
      Returns the number of active transactions established on this Connection.
      Returns:
      the number of active transactions established on this Connection..
    • getOldestActiveTransactionDuration

      Long getOldestActiveTransactionDuration()
      Returns the number of active transactions established on this Connection.
      Returns:
      the number of active transactions established on this Connection..
    • isFaultTolerantConnection

      boolean isFaultTolerantConnection()
      Returns:
      true if the Connection is fault tolerant
    • isManageable

      boolean isManageable()
      Returns:
      true if the Connection is manageable
    • isNetworkConnection

      boolean isNetworkConnection()
      Returns:
      true if the Connection is a network connection
    • getConnectedTimestamp

      long getConnectedTimestamp()
      Returns:
      the time in ms since epoch when connection was established