public class QueueQueryImpl extends Object implements ClientSession.QueueQuery
| Constructor and Description |
|---|
QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists) |
QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues) |
QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues,
int maxConsumers,
boolean autoCreated,
boolean purgeOnNoConsumers,
RoutingType routingType) |
QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues,
int maxConsumers,
boolean autoCreated,
boolean purgeOnNoConsumers,
RoutingType routingType,
Boolean exclusive,
Boolean lastValue) |
| Modifier and Type | Method and Description |
|---|---|
SimpleString |
getAddress()
Returns the address that the queue is bound to.
|
int |
getConsumerCount()
Returns the number of consumers attached to the queue.
|
SimpleString |
getFilterString()
Returns the queue's filter string (or
null if the queue has no filter). |
int |
getMaxConsumers() |
long |
getMessageCount()
Returns the number of messages in the queue.
|
SimpleString |
getName()
Return the name of the queue
|
RoutingType |
getRoutingType() |
boolean |
isAutoCreated() |
boolean |
isAutoCreateQueues()
Returns
true if auto-creation for this queue is enabled and if the queue queried is a JMS queue,
false else. |
boolean |
isDurable()
Returns
true if the queue is durable, false else. |
Boolean |
isExclusive() |
boolean |
isExists()
Returns
true if the queue exists, false else. |
Boolean |
isLastValue() |
boolean |
isPurgeOnNoConsumers() |
boolean |
isTemporary()
Return
true if the queue is temporary, false else. |
public QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists)
public QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues)
public QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues,
int maxConsumers,
boolean autoCreated,
boolean purgeOnNoConsumers,
RoutingType routingType)
public QueueQueryImpl(boolean durable,
boolean temporary,
int consumerCount,
long messageCount,
SimpleString filterString,
SimpleString address,
SimpleString name,
boolean exists,
boolean autoCreateQueues,
int maxConsumers,
boolean autoCreated,
boolean purgeOnNoConsumers,
RoutingType routingType,
Boolean exclusive,
Boolean lastValue)
public SimpleString getName()
ClientSession.QueueQuerygetName in interface ClientSession.QueueQuerypublic SimpleString getAddress()
ClientSession.QueueQuerygetAddress in interface ClientSession.QueueQuerypublic int getConsumerCount()
ClientSession.QueueQuerygetConsumerCount in interface ClientSession.QueueQuerypublic SimpleString getFilterString()
ClientSession.QueueQuerynull if the queue has no filter).getFilterString in interface ClientSession.QueueQuerypublic long getMessageCount()
ClientSession.QueueQuerygetMessageCount in interface ClientSession.QueueQuerypublic boolean isDurable()
ClientSession.QueueQuerytrue if the queue is durable, false else.isDurable in interface ClientSession.QueueQuerypublic boolean isAutoCreateQueues()
ClientSession.QueueQuerytrue if auto-creation for this queue is enabled and if the queue queried is a JMS queue,
false else.isAutoCreateQueues in interface ClientSession.QueueQuerypublic boolean isTemporary()
ClientSession.QueueQuerytrue if the queue is temporary, false else.isTemporary in interface ClientSession.QueueQuerypublic boolean isExists()
ClientSession.QueueQuerytrue if the queue exists, false else.isExists in interface ClientSession.QueueQuerypublic RoutingType getRoutingType()
getRoutingType in interface ClientSession.QueueQuerypublic int getMaxConsumers()
getMaxConsumers in interface ClientSession.QueueQuerypublic boolean isPurgeOnNoConsumers()
isPurgeOnNoConsumers in interface ClientSession.QueueQuerypublic boolean isAutoCreated()
isAutoCreated in interface ClientSession.QueueQuerypublic Boolean isExclusive()
isExclusive in interface ClientSession.QueueQuerypublic Boolean isLastValue()
isLastValue in interface ClientSession.QueueQueryCopyright © 2019 JBoss by Red Hat. All rights reserved.