|
||||||||||
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
public class 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 destination message counter array |
MessageStatistics[] |
getMessageStatistics()
Get destination stats array |
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()
|
void |
stopService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, destroy, destroyService, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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 QueueMBean
Exception
- Description of Exceptionpublic int getScheduledMessageCount() throws Exception
getScheduledMessageCount
in interface QueueMBean
Exception
- Description of Exceptionpublic void startService() throws Exception
startService
in class DestinationMBeanSupport
Exception
public void stopService() throws Exception
stopService
in class DestinationMBeanSupport
Exception
public void removeAllMessages() throws Exception
DestinationMBean
removeAllMessages
in interface DestinationMBean
Exception
DestinationMBean.removeAllMessages()
public int getReceiversCount()
getReceiversCount
in interface QueueMBean
public List listReceivers()
listReceivers
in interface QueueMBean
public List listMessages() throws Exception
listMessages
in interface QueueMBean
Exception
public List listMessages(String selector) throws Exception
listMessages
in interface QueueMBean
Exception
public MessageCounter[] getMessageCounter()
DestinationMBeanSupport
getMessageCounter
in interface DestinationMBean
getMessageCounter
in class DestinationMBeanSupport
DestinationMBeanSupport.getMessageCounter()
public MessageStatistics[] getMessageStatistics() throws Exception
DestinationMBeanSupport
getMessageStatistics
in interface DestinationMBean
getMessageStatistics
in class DestinationMBeanSupport
Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |