org.hornetq.api.core.client
Interface ClientSession.QueueQuery

Enclosing interface:
ClientSession

public static interface ClientSession.QueueQuery

Information returned by a queue query

See Also:
ClientSession.queueQuery(SimpleString)

Method Summary
 org.hornetq.api.core.SimpleString getAddress()
          Returns the address that the queue is bound to.
 int getConsumerCount()
          Returns the number of consumers attached to the queue.
 org.hornetq.api.core.SimpleString getFilterString()
          Returns the queue's filter string (or null if the queue has no filter).
 long getMessageCount()
          Returns the number of messages in the queue.
 boolean isDurable()
          Returns true if the queue is durable, false else.
 boolean isExists()
          Returns true if the queue exists, false else.
 

Method Detail

isExists

boolean isExists()
Returns true if the queue exists, false else.


isDurable

boolean isDurable()
Returns true if the queue is durable, false else.


getConsumerCount

int getConsumerCount()
Returns the number of consumers attached to the queue.


getMessageCount

long getMessageCount()
Returns the number of messages in the queue.


getFilterString

org.hornetq.api.core.SimpleString getFilterString()
Returns the queue's filter string (or null if the queue has no filter).


getAddress

org.hornetq.api.core.SimpleString getAddress()
Returns the address that the queue is bound to.



Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.