|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.server.jmx.DestinationMBeanSupport
org.jboss.mq.server.jmx.Queue
This class is a message queue which is stored (hashed by Destination) on the JMS provider
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
Queue()
|
|
| Method Summary | |
MessageCounter[] |
getMessageCounter()
get message counter of all internal queues |
MessageStatistics[] |
getMessageStatistics()
get message statistics of all internal queues |
int |
getQueueDepth()
Gets the QueueDepth attribute of the BasicQueue object |
String |
getQueueName()
|
int |
getReceiversCount()
|
int |
getScheduledMessageCount()
Gets the ScheduledMessageCount attribute of the BasicQueue object |
List |
listMessages()
|
List |
listMessages(String selector)
|
List |
listReceivers()
|
void |
removeAllMessages()
Get the value of JBossMQService. |
void |
startService()
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
| Constructor Detail |
public Queue()
| Method Detail |
public String getQueueName()
getQueueName in interface QueueMBean
public int getQueueDepth()
throws Exception
getQueueDepth in interface QueueMBeanException - Description of Exception
public int getScheduledMessageCount()
throws Exception
getScheduledMessageCount in interface QueueMBeanException - Description of Exception
public void startService()
throws Exception
startService in class DestinationMBeanSupportException
public void removeAllMessages()
throws Exception
DestinationMBean
removeAllMessages in interface DestinationMBeanExceptionDestinationMBean.removeAllMessages()public int getReceiversCount()
getReceiversCount in interface QueueMBeanpublic List listReceivers()
listReceivers in interface QueueMBean
public List listMessages()
throws Exception
listMessages in interface QueueMBeanException
public List listMessages(String selector)
throws Exception
listMessages in interface QueueMBeanExceptionpublic MessageCounter[] getMessageCounter()
DestinationMBean
getMessageCounter in interface DestinationMBeangetMessageCounter in class DestinationMBeanSupportDestinationMBeanSupport.getMessageCounter()
public MessageStatistics[] getMessageStatistics()
throws Exception
DestinationMBean
getMessageStatistics in interface DestinationMBeangetMessageStatistics in class DestinationMBeanSupportException - for any error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||