站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

QueueMBean (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq.server.jmx
Interface QueueMBean

All Superinterfaces:
DestinationMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
Queue

public interface QueueMBean
extends DestinationMBean

MBean interface.


Field Summary
 
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
 
Method Summary
 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()
           
 
Methods inherited from interface org.jboss.mq.server.jmx.DestinationMBean
getDestinationManager, getInMemory, getJNDIName, getMaxDepth, getMessageCounter, getMessageCounterHistoryDayLimit, getMessageStatistics, getReceiversImpl, getRedeliveryDelay, getRedeliveryLimit, listMessageCounter, listMessageCounterHistory, removeAllMessages, resetMessageCounter, resetMessageCounterHistory, setDestinationManager, setInMemory, setJNDIName, setMaxDepth, setMessageCounterHistoryDayLimit, setReceiversImpl, setRedeliveryDelay, setRedeliveryLimit, setSecurityConf, setSecurityManager
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getQueueName

public String getQueueName()

getQueueDepth

public int getQueueDepth()
                  throws Exception
Gets the QueueDepth attribute of the BasicQueue object

Returns:
The QueueDepth value
Throws:
Exception - Description of Exception

getScheduledMessageCount

public int getScheduledMessageCount()
                             throws Exception
Gets the ScheduledMessageCount attribute of the BasicQueue object

Returns:
The ScheduledMessageCount value
Throws:
Exception - Description of Exception

getReceiversCount

public int getReceiversCount()

listReceivers

public List listReceivers()

listMessages

public List listMessages()
                  throws Exception
Throws:
Exception

listMessages

public List listMessages(String selector)
                  throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.