Interface ClientSession.QueueQuery
- All Known Implementing Classes:
QueueQueryImpl
- Enclosing interface:
- ClientSession
public static interface ClientSession.QueueQuery
Information returned by a queue query
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the address that the queue is bound to.intReturns the number of consumers attached to the queue.Returns the queue's filter string (ornullif the queue has no filter).intlongReturns the number of messages in the queue.getName()Return the name of the queuebooleanbooleanReturnstrueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse.booleanReturnstrueif the queue is durable,falseelse.booleanisExists()Returnstrueif the queue exists,falseelse.booleanbooleanReturnstrueif the queue is temporary,falseelse.
-
Method Details
-
isExists
boolean isExists()Returnstrueif the queue exists,falseelse.- Returns:
trueif the queue exists,falseelse
-
isTemporary
boolean isTemporary()Returnstrueif the queue is temporary,falseelse.- Returns:
trueif the queue is temporary,falseelse
-
isDurable
boolean isDurable()Returnstrueif the queue is durable,falseelse.- Returns:
trueif the queue is durable,falseelse
-
isAutoCreateQueues
boolean isAutoCreateQueues()Returnstrueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse.- Returns:
trueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse
-
getConsumerCount
int getConsumerCount()Returns the number of consumers attached to the queue.- Returns:
- the number of consumers attached to the queue
-
getMessageCount
long getMessageCount()Returns the number of messages in the queue.- Returns:
- the number of messages in the queue
-
getFilterString
SimpleString getFilterString()Returns the queue's filter string (ornullif the queue has no filter).- Returns:
- the queue's filter string (or
nullif the queue has no filter)
-
getAddress
SimpleString getAddress()Returns the address that the queue is bound to.- Returns:
- the address that the queue is bound to
-
getName
SimpleString getName()Return the name of the queue -
getRoutingType
RoutingType getRoutingType() -
getMaxConsumers
int getMaxConsumers() -
isPurgeOnNoConsumers
boolean isPurgeOnNoConsumers() -
isAutoCreated
boolean isAutoCreated() -
isExclusive
Boolean isExclusive() -
isLastValue
Boolean isLastValue() -
getLastValueKey
SimpleString getLastValueKey() -
isNonDestructive
Boolean isNonDestructive() -
getConsumersBeforeDispatch
Integer getConsumersBeforeDispatch() -
getDelayBeforeDispatch
Long getDelayBeforeDispatch() -
getDefaultConsumerWindowSize
Integer getDefaultConsumerWindowSize() -
isGroupRebalance
Boolean isGroupRebalance() -
isGroupRebalancePauseDispatch
Boolean isGroupRebalancePauseDispatch() -
getGroupBuckets
Integer getGroupBuckets() -
getGroupFirstKey
SimpleString getGroupFirstKey() -
isAutoDelete
Boolean isAutoDelete() -
getAutoDeleteDelay
Long getAutoDeleteDelay() -
getAutoDeleteMessageCount
Long getAutoDeleteMessageCount() -
getRingSize
Long getRingSize() -
isEnabled
Boolean isEnabled() -
isConfigurationManaged
Boolean isConfigurationManaged()
-