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, unregisterSelfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectName, getTypepublic QueueAdmin(AbstractQueue queue)
public java.lang.String getName()
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getUrl()
getUrl in interface JmsQueueMXBeanpublic int getConsumerCount()
getConsumerCount in interface JmsQueueMXBeanpublic int getReceiverCount()
getReceiverCount in interface JmsQueueMXBeanpublic int getQueueSize()
getQueueSize in interface JmsQueueMXBeanpublic long getListenerFailCountTotal()
getListenerFailCountTotal in interface JmsQueueMXBeanpublic java.util.Date getListenerFailLastTime()
getListenerFailLastTime in interface JmsQueueMXBean