Class QueueQueryImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.client.impl.QueueQueryImpl
-
- All Implemented Interfaces:
ClientSession.QueueQuery
public class QueueQueryImpl extends Object implements ClientSession.QueueQuery
-
-
Constructor Summary
Constructors Constructor 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 groupRebalance, Boolean groupRebalancePauseDispatch, Integer groupBuckets, SimpleString groupFirstKey, Boolean lastValue, SimpleString lastValueKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, Integer defaultConsumerWindowSize, Long ringSize, Boolean enabled, Boolean configurationManaged)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, Integer defaultConsumerWindowSize)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 groupRebalance, Integer groupBuckets, Boolean lastValue, SimpleString lastValueKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, Integer defaultConsumerWindowSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleStringgetAddress()Returns the address that the queue is bound to.LonggetAutoDeleteDelay()LonggetAutoDeleteMessageCount()intgetConsumerCount()Returns the number of consumers attached to the queue.IntegergetConsumersBeforeDispatch()IntegergetDefaultConsumerWindowSize()LonggetDelayBeforeDispatch()SimpleStringgetFilterString()Returns the queue's filter string (ornullif the queue has no filter).IntegergetGroupBuckets()SimpleStringgetGroupFirstKey()SimpleStringgetLastValueKey()intgetMaxConsumers()longgetMessageCount()Returns the number of messages in the queue.SimpleStringgetName()Return the name of the queueLonggetRingSize()RoutingTypegetRoutingType()booleanisAutoCreated()booleanisAutoCreateQueues()Returnstrueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse.BooleanisAutoDelete()BooleanisConfigurationManaged()booleanisDurable()Returnstrueif the queue is durable,falseelse.BooleanisEnabled()BooleanisExclusive()booleanisExists()Returnstrueif the queue exists,falseelse.BooleanisGroupRebalance()BooleanisGroupRebalancePauseDispatch()BooleanisLastValue()BooleanisNonDestructive()booleanisPurgeOnNoConsumers()booleanisTemporary()Returntrueif the queue is temporary,falseelse.
-
-
-
Constructor Detail
-
QueueQueryImpl
public QueueQueryImpl(boolean durable, boolean temporary, int consumerCount, long messageCount, SimpleString filterString, SimpleString address, SimpleString name, boolean exists)
-
QueueQueryImpl
public QueueQueryImpl(boolean durable, boolean temporary, int consumerCount, long messageCount, SimpleString filterString, SimpleString address, SimpleString name, boolean exists, boolean autoCreateQueues)
-
QueueQueryImpl
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)
-
QueueQueryImpl
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, Integer defaultConsumerWindowSize)
-
QueueQueryImpl
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 groupRebalance, Integer groupBuckets, Boolean lastValue, SimpleString lastValueKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, Integer defaultConsumerWindowSize)
-
QueueQueryImpl
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 groupRebalance, Boolean groupRebalancePauseDispatch, Integer groupBuckets, SimpleString groupFirstKey, Boolean lastValue, SimpleString lastValueKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, Integer defaultConsumerWindowSize, Long ringSize, Boolean enabled, Boolean configurationManaged)
-
-
Method Detail
-
getName
public SimpleString getName()
Description copied from interface:ClientSession.QueueQueryReturn the name of the queue- Specified by:
getNamein interfaceClientSession.QueueQuery- Returns:
-
getAddress
public SimpleString getAddress()
Description copied from interface:ClientSession.QueueQueryReturns the address that the queue is bound to.- Specified by:
getAddressin interfaceClientSession.QueueQuery
-
getConsumerCount
public int getConsumerCount()
Description copied from interface:ClientSession.QueueQueryReturns the number of consumers attached to the queue.- Specified by:
getConsumerCountin interfaceClientSession.QueueQuery
-
getFilterString
public SimpleString getFilterString()
Description copied from interface:ClientSession.QueueQueryReturns the queue's filter string (ornullif the queue has no filter).- Specified by:
getFilterStringin interfaceClientSession.QueueQuery
-
getMessageCount
public long getMessageCount()
Description copied from interface:ClientSession.QueueQueryReturns the number of messages in the queue.- Specified by:
getMessageCountin interfaceClientSession.QueueQuery
-
isDurable
public boolean isDurable()
Description copied from interface:ClientSession.QueueQueryReturnstrueif the queue is durable,falseelse.- Specified by:
isDurablein interfaceClientSession.QueueQuery
-
isAutoCreateQueues
public boolean isAutoCreateQueues()
Description copied from interface:ClientSession.QueueQueryReturnstrueif auto-creation for this queue is enabled and if the queue queried is a JMS queue,falseelse.- Specified by:
isAutoCreateQueuesin interfaceClientSession.QueueQuery
-
isTemporary
public boolean isTemporary()
Description copied from interface:ClientSession.QueueQueryReturntrueif the queue is temporary,falseelse.- Specified by:
isTemporaryin interfaceClientSession.QueueQuery
-
isExists
public boolean isExists()
Description copied from interface:ClientSession.QueueQueryReturnstrueif the queue exists,falseelse.- Specified by:
isExistsin interfaceClientSession.QueueQuery
-
getRoutingType
public RoutingType getRoutingType()
- Specified by:
getRoutingTypein interfaceClientSession.QueueQuery
-
getMaxConsumers
public int getMaxConsumers()
- Specified by:
getMaxConsumersin interfaceClientSession.QueueQuery
-
isPurgeOnNoConsumers
public boolean isPurgeOnNoConsumers()
- Specified by:
isPurgeOnNoConsumersin interfaceClientSession.QueueQuery
-
isAutoCreated
public boolean isAutoCreated()
- Specified by:
isAutoCreatedin interfaceClientSession.QueueQuery
-
isExclusive
public Boolean isExclusive()
- Specified by:
isExclusivein interfaceClientSession.QueueQuery
-
isLastValue
public Boolean isLastValue()
- Specified by:
isLastValuein interfaceClientSession.QueueQuery
-
getLastValueKey
public SimpleString getLastValueKey()
- Specified by:
getLastValueKeyin interfaceClientSession.QueueQuery
-
isNonDestructive
public Boolean isNonDestructive()
- Specified by:
isNonDestructivein interfaceClientSession.QueueQuery
-
getConsumersBeforeDispatch
public Integer getConsumersBeforeDispatch()
- Specified by:
getConsumersBeforeDispatchin interfaceClientSession.QueueQuery
-
getDelayBeforeDispatch
public Long getDelayBeforeDispatch()
- Specified by:
getDelayBeforeDispatchin interfaceClientSession.QueueQuery
-
getDefaultConsumerWindowSize
public Integer getDefaultConsumerWindowSize()
- Specified by:
getDefaultConsumerWindowSizein interfaceClientSession.QueueQuery
-
isGroupRebalance
public Boolean isGroupRebalance()
- Specified by:
isGroupRebalancein interfaceClientSession.QueueQuery
-
isGroupRebalancePauseDispatch
public Boolean isGroupRebalancePauseDispatch()
- Specified by:
isGroupRebalancePauseDispatchin interfaceClientSession.QueueQuery
-
getGroupBuckets
public Integer getGroupBuckets()
- Specified by:
getGroupBucketsin interfaceClientSession.QueueQuery
-
getGroupFirstKey
public SimpleString getGroupFirstKey()
- Specified by:
getGroupFirstKeyin interfaceClientSession.QueueQuery
-
isAutoDelete
public Boolean isAutoDelete()
- Specified by:
isAutoDeletein interfaceClientSession.QueueQuery
-
getAutoDeleteDelay
public Long getAutoDeleteDelay()
- Specified by:
getAutoDeleteDelayin interfaceClientSession.QueueQuery
-
getAutoDeleteMessageCount
public Long getAutoDeleteMessageCount()
- Specified by:
getAutoDeleteMessageCountin interfaceClientSession.QueueQuery
-
getRingSize
public Long getRingSize()
- Specified by:
getRingSizein interfaceClientSession.QueueQuery
-
isEnabled
public Boolean isEnabled()
- Specified by:
isEnabledin interfaceClientSession.QueueQuery
-
isConfigurationManaged
public Boolean isConfigurationManaged()
- Specified by:
isConfigurationManagedin interfaceClientSession.QueueQuery
-
-