Interface ClientSession.QueueQuery
-
- Enclosing interface:
- ClientSession
public static interface ClientSession.QueueQueryInformation returned by a queue query- See Also:
ClientSession.queueQuery(SimpleString)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.activemq.artemis.api.core.SimpleStringgetAddress()Returns the address that the queue is bound to.java.lang.LonggetAutoDeleteDelay()java.lang.LonggetAutoDeleteMessageCount()intgetConsumerCount()Returns the number of consumers attached to the queue.java.lang.IntegergetConsumersBeforeDispatch()java.lang.IntegergetDefaultConsumerWindowSize()java.lang.LonggetDelayBeforeDispatch()org.apache.activemq.artemis.api.core.SimpleStringgetFilterString()Returns the queue's filter string (ornullif the queue has no filter).java.lang.IntegergetGroupBuckets()org.apache.activemq.artemis.api.core.SimpleStringgetGroupFirstKey()org.apache.activemq.artemis.api.core.SimpleStringgetLastValueKey()intgetMaxConsumers()longgetMessageCount()Returns the number of messages in the queue.org.apache.activemq.artemis.api.core.SimpleStringgetName()Return the name of the queuejava.lang.LonggetRingSize()org.apache.activemq.artemis.api.core.RoutingTypegetRoutingType()booleanisAutoCreated()booleanisAutoCreateQueues()Returnstrueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse.java.lang.BooleanisAutoDelete()java.lang.BooleanisConfigurationManaged()booleanisDurable()Returnstrueif the queue is durable,falseelse.java.lang.BooleanisEnabled()java.lang.BooleanisExclusive()booleanisExists()Returnstrueif the queue exists,falseelse.java.lang.BooleanisGroupRebalance()java.lang.BooleanisGroupRebalancePauseDispatch()java.lang.BooleanisLastValue()java.lang.BooleanisNonDestructive()booleanisPurgeOnNoConsumers()booleanisTemporary()Returntrueif the queue is temporary,falseelse.
-
-
-
Method Detail
-
isExists
boolean isExists()
Returnstrueif the queue exists,falseelse.
-
isTemporary
boolean isTemporary()
Returntrueif the queue is temporary,falseelse.
-
isDurable
boolean isDurable()
Returnstrueif 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.
-
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.apache.activemq.artemis.api.core.SimpleString getFilterString()
Returns the queue's filter string (ornullif the queue has no filter).
-
getAddress
org.apache.activemq.artemis.api.core.SimpleString getAddress()
Returns the address that the queue is bound to.
-
getName
org.apache.activemq.artemis.api.core.SimpleString getName()
Return the name of the queue- Returns:
-
getRoutingType
org.apache.activemq.artemis.api.core.RoutingType getRoutingType()
-
getMaxConsumers
int getMaxConsumers()
-
isPurgeOnNoConsumers
boolean isPurgeOnNoConsumers()
-
isAutoCreated
boolean isAutoCreated()
-
isExclusive
java.lang.Boolean isExclusive()
-
isLastValue
java.lang.Boolean isLastValue()
-
getLastValueKey
org.apache.activemq.artemis.api.core.SimpleString getLastValueKey()
-
isNonDestructive
java.lang.Boolean isNonDestructive()
-
getConsumersBeforeDispatch
java.lang.Integer getConsumersBeforeDispatch()
-
getDelayBeforeDispatch
java.lang.Long getDelayBeforeDispatch()
-
getDefaultConsumerWindowSize
java.lang.Integer getDefaultConsumerWindowSize()
-
isGroupRebalance
java.lang.Boolean isGroupRebalance()
-
isGroupRebalancePauseDispatch
java.lang.Boolean isGroupRebalancePauseDispatch()
-
getGroupBuckets
java.lang.Integer getGroupBuckets()
-
getGroupFirstKey
org.apache.activemq.artemis.api.core.SimpleString getGroupFirstKey()
-
isAutoDelete
java.lang.Boolean isAutoDelete()
-
getAutoDeleteDelay
java.lang.Long getAutoDeleteDelay()
-
getAutoDeleteMessageCount
java.lang.Long getAutoDeleteMessageCount()
-
getRingSize
java.lang.Long getRingSize()
-
isEnabled
java.lang.Boolean isEnabled()
-
isConfigurationManaged
java.lang.Boolean isConfigurationManaged()
-
-