public class QueueAdmin extends AbstractManagedObject implements JmsQueueMXBean
Constructor and Description |
---|
QueueAdmin(AbstractQueue queue) |
Modifier and Type | Method and Description |
---|---|
int |
getConsumerCount()
Returns the number of active message consumers
|
long |
getListenerFailCountTotal()
Returns the number of listener failures.
|
java.util.Date |
getListenerFailLastTime()
Returns the time of the last listener failure
|
java.lang.String |
getName()
Returns the queue's name
|
int |
getQueueSize()
Returns the number of active message consumers
|
int |
getReceiverCount()
Returns the number of receivers.
|
java.lang.String |
getUrl()
Returns the queue's url
|
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectName, getType
public QueueAdmin(AbstractQueue queue)
public java.lang.String getName()
getName
in interface ManagedObjectMXBean
getName
in class AbstractManagedObject
public java.lang.String getUrl()
getUrl
in interface JmsQueueMXBean
public int getConsumerCount()
getConsumerCount
in interface JmsQueueMXBean
public int getReceiverCount()
getReceiverCount
in interface JmsQueueMXBean
public int getQueueSize()
getQueueSize
in interface JmsQueueMXBean
public long getListenerFailCountTotal()
getListenerFailCountTotal
in interface JmsQueueMXBean
public java.util.Date getListenerFailLastTime()
getListenerFailLastTime
in interface JmsQueueMXBean