public interface ConnectionViewMBean extends Service
Modifier and Type | Method and Description |
---|---|
int |
getActiveTransactionCount()
Returns the number of active transactions established on this Connection.
|
String |
getClientId()
Returns the client identifier for this connection
|
ObjectName[] |
getConsumers()
Returns the ObjectNames of all the Consumers created by this Connection.
|
int |
getDispatchQueueSize()
Returns the number of messages to be dispatched to this connection
|
Long |
getOldestActiveTransactionDuration()
Returns the number of active transactions established on this Connection.
|
ObjectName[] |
getProducers()
Returns the ObjectNames of all the Producers created by this Connection.
|
String |
getRemoteAddress()
Returns the source address for this connection
|
String |
getUserName()
Returns the User Name used to authorize creation of this Connection.
|
boolean |
isActive() |
boolean |
isBlocked() |
boolean |
isConnected() |
boolean |
isSlow() |
void |
resetStatistics()
Resets the statistics
|
boolean isSlow()
boolean isBlocked()
boolean isConnected()
boolean isActive()
void resetStatistics()
String getRemoteAddress()
String getClientId()
int getDispatchQueueSize()
String getUserName()
ObjectName[] getConsumers()
ObjectName[] getProducers()
int getActiveTransactionCount()
Long getOldestActiveTransactionDuration()
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.