Class QueueImpl
- java.lang.Object
-
- org.apache.activemq.artemis.utils.critical.CriticalComponentImpl
-
- org.apache.activemq.artemis.core.server.impl.QueueImpl
-
- All Implemented Interfaces:
Bindable,Queue,CriticalComponent
- Direct Known Subclasses:
LastValueQueue
public class QueueImpl extends CriticalComponentImpl implements Queue
Implementation of a QueueCompletely non blocking between adding to queue and delivering to consumers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classQueueImpl.ConsumerHolder<T extends Consumer>
-
Field Summary
Fields Modifier and Type Field Description static intCHECK_QUEUE_SIZE_PERIODprotected static intCRITICAL_CHECK_DEPAGEprotected static intCRITICAL_CONSUMERprotected static intCRITICAL_DELIVERprotected static intCRITICAL_PATH_ADD_HEADprotected static intCRITICAL_PATH_ADD_TAILprotected static intCRITICAL_PATHSstatic intDEFAULT_FLUSH_LIMITstatic intDELIVERY_TIMEOUTIf The system gets slow for any reason, this is the maximum time a Delivery or or depage executor should be hanging onintdispatchinglongdispatchStartTimestatic intMAX_DELIVERIES_IN_LOOPprotected PriorityLinkedList<MessageReference>messageReferencesstatic intNUM_PRIORITIESprotected PageSubscriptionpageSubscriptionprotected QueueMessageMetricspendingMetricsprotected ScheduledDeliveryHandlerscheduledDeliveryHandler-
Fields inherited from interface org.apache.activemq.artemis.core.server.Queue
MAX_CONSUMERS_UNLIMITED
-
-
Constructor Summary
Constructors Constructor Description QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, Long ringSize, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean purgeOnNoConsumers, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)Deprecated.QueueImpl(QueueConfiguration queueConfiguration, PagingStore pagingStore, PageSubscription pageSubscription, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacknowledge(MessageReference ref)voidacknowledge(MessageReference ref, AckReason reason, ServerConsumer consumer)voidacknowledge(MessageReference ref, ServerConsumer consumer)voidacknowledge(Transaction tx, MessageReference ref)voidacknowledge(Transaction tx, MessageReference ref, AckReason reason, ServerConsumer consumer, boolean delivering)The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering.voidaddConsumer(Consumer consumer)voidaddHead(List<MessageReference> refs, boolean scheduling)voidaddHead(MessageReference ref, boolean scheduling)voidaddLingerSession(String sessionId)voidaddRedistributor(long delay)protected voidaddRefSize(MessageReference ref)voidaddSorted(List<MessageReference> refs, boolean scheduling)voidaddSorted(MessageReference ref, boolean scheduling)voidaddTail(MessageReference ref)voidaddTail(MessageReference ref, boolean direct)booleanallowsReferenceCallback()the current queue and consumer settings will allow use of the Reference Execution and callback.org.apache.activemq.artemis.core.server.impl.QueueImpl.QueueBrowserIteratorbrowserIterator()voidcancel(MessageReference reference, long timeBase)voidcancel(Transaction tx, MessageReference reference)voidcancel(Transaction tx, MessageReference reference, boolean ignoreRedeliveryCheck)voidcancelRedistributor()booleanchangeReferencePriority(long messageID, byte newPriority)intchangeReferencesPriority(Filter filter, byte newPriority)Pair<Boolean,Boolean>checkRedelivery(MessageReference reference, long timeBase, boolean ignoreRedeliveryDelay)voidclose()Stringdebug()voiddecDelivering(MessageReference reference)intdeleteAllReferences()intdeleteAllReferences(int flushLimit)intdeleteMatchingReferences(int flushLimit, Filter filter1, AckReason ackReason)intdeleteMatchingReferences(Filter filter)voiddeleteQueue()voiddeleteQueue(boolean removeConsumers)booleandeleteReference(long messageID)voiddeliverAsync()voiddeliverNow()voiddeliverScheduledMessage(long messageId)cancels scheduled message with the corresponding message ID and sends it to the head of the queue.voiddeliverScheduledMessages()cancels scheduled messages and send them to the head of the queue.voiddeliverScheduledMessages(String filterString)cancels scheduled messages which match the filter and send them to the head of the queue.voiddestroyPaging()intdurableDown(Message message)intdurableUp(Message message)booleanequals(Object other)voiderrorProcessing(Consumer consumer, Throwable t, MessageReference reference)This will print errors and decide what to do with the errored consumer from the protocol layer.voidexpire(MessageReference ref)voidexpire(MessageReference ref, ServerConsumer consumer, boolean delivering)The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering.booleanexpireReference(long messageID)voidexpireReferences(Runnable done)intexpireReferences(Filter filter)Expire all the references in the queue which matches the filterbooleanflushExecutor()voidflushOnIntermediate(Runnable runnable)voidforceDelivery()This method will make sure that any pending message (including paged message) will be deliveredlonggetAcknowledgeAttempts()SimpleStringgetAddress()longgetAutoDeleteDelay()longgetAutoDeleteMessageCount()intgetConsumerCount()longgetConsumerRemovedTimestamp()Set<Consumer>getConsumers()intgetConsumersBeforeDispatch()ReferenceCountergetConsumersRefCount()This will hold a reference counter for every consumer present on the queue.longgetCreatedTimestamp()SimpleStringgetDeadLetterAddress()longgetDelayBeforeDispatch()intgetDeliveringCount()Map<String,List<MessageReference>>getDeliveringMessages()Return a Map consisting of consumer.toString and its messages Delivering message is a property of the consumer, this method will aggregate the results per Server's consumer objectlonggetDeliveringSize()longgetDispatchStartTime()intgetDurableDeliveringCount()longgetDurableDeliveringSize()longgetDurableMessageCount()This is the number of the durable messages in the queuelonggetDurablePersistentSize()This is the persistent size of all the durable messages in the queueintgetDurableScheduledCount()longgetDurableScheduledSize()ArtemisExecutorgetExecutor()SimpleStringgetExpiryAddress()FiltergetFilter()intgetGroupBuckets()intgetGroupCount()SimpleStringgetGroupFirstKey()Map<SimpleString,Consumer>getGroups()LonggetID()SimpleStringgetLastValueKey()intgetMaxConsumers()longgetMessageCount()longgetMessageCountForRing()longgetMessagesAcknowledged()longgetMessagesAdded()longgetMessagesExpired()longgetMessagesKilled()longgetMessagesReplaced()SimpleStringgetName()intgetNumberOfReferences()Used on testing only *PageSubscriptiongetPageSubscription()PagingStoregetPagingStore()longgetPersistentSize()This is the size of the messages in the queue when persisted on disk which is used for metrics tracking to give an idea of the amount of data on the queue to be consumed Note that this includes all messages on the queue, even messages that are non-durable which may only be in memoryQueueConfigurationgetQueueConfiguration()MessageReferencegetReference(long id1)longgetRingSize()SimpleStringgetRoutingName()RoutingTypegetRoutingType()intgetScheduledCount()List<MessageReference>getScheduledMessages()longgetScheduledSize()SimpleStringgetUniqueName()SimpleStringgetUser()static MessageGroups<Consumer>groupMap(int groupBuckets)inthashCode()booleanhasMatchingConsumer(Message message)voidincDelivering(MessageReference ref)voidincrementMesssagesAdded()booleanisAutoCreated()booleanisAutoDelete()booleanisConfigurationManaged()booleanisDirectDeliver()booleanisDispatching()booleanisDurable()booleanisDurableMessage()The queue definition could be durable, but the messages could eventually be considered non durable.booleanisEnabled()booleanisExclusive()booleanisExpirationRedundant()booleanisGroupRebalance()booleanisGroupRebalancePauseDispatch()booleanisInternalQueue()We can't send stuff to DLQ on queues used on clustered-bridge-communicationbooleanisLastValue()booleanisMirrorController()booleanisNonDestructive()booleanisPaused()booleanisPersistedPause()if the pause was persistedbooleanisPurgeOnNoConsumers()booleanisSwept()booleanisTemporary()LinkedListIterator<MessageReference>iterator()It will iterate through memory only (not paging)booleanmoveReference(long messageID, SimpleString toAddress, Binding binding, boolean rejectDuplicate)intmoveReferences(int flushLimit, Filter filter, SimpleString toAddress, boolean rejectDuplicates, int messageCount, Binding binding)intmoveReferences(int flushLimit, Filter filter, SimpleString toAddress, boolean rejectDuplicates, Binding binding)intmoveReferences(Filter filter, SimpleString toAddress, Binding binding)intmoveReferencesBetweenSnFQueues(SimpleString queueSuffix)voidpause()Pauses the queue.voidpause(boolean persist)Pauses the queue.MessageReferencepeekFirstMessage()voidpostAcknowledge(MessageReference ref, AckReason reason)voidpostAcknowledge(MessageReference ref, AckReason reason, boolean delivering)The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering.protected voidpruneLastValues()voidreacknowledge(Transaction tx, MessageReference ref)voidrecheckRefCount(OperationContext context)This is to perform a check on the counter againprotected voidrefAdded(MessageReference ref)voidrefDown(MessageReference messageReference)voidreferenceHandled(MessageReference ref)protected voidrefRemoved(MessageReference ref)voidrefUp(MessageReference messageReference)voidreload(MessageReference ref)voidreloadPause(long recordID)voidremoveAddress()This method will push a removeAddress call into server's remove addressvoidremoveConsumer(Consumer consumer)voidremoveLingerSession(String sessionId)protected voidremoveMessageReference(QueueImpl.ConsumerHolder<? extends Consumer> holder, MessageReference ref)MessageReferenceremoveReferenceWithID(long id1)MessageReferenceremoveWithSuppliedID(String serverID, long id, NodeStore<MessageReference> nodeStore)Remove item with a supplied non-negative (>= 0) ID.intrerouteMessages(SimpleString queueName, Filter filter)voidresetAllGroups()voidresetAllIterators()voidresetGroup(SimpleString groupId)voidresetMessagesAcknowledged()voidresetMessagesAdded()voidresetMessagesExpired()voidresetMessagesKilled()voidresume()Resumes the delivery of message for the queue.intretryMessages(Filter filter)intretryMessages(Filter filter, Integer expectedHits)voidroute(Message message, RoutingContext context)voidrouteWithAck(Message message, RoutingContext context)protected booleanscheduleIfPossible(MessageReference ref)intsendMessagesToDeadLetterAddress(Filter filter)booleansendMessageToDeadLetterAddress(long messageID)booleansendToDeadLetterAddress(Transaction tx, MessageReference ref)voidsetConfigurationManaged(boolean configurationManaged)voidsetConsumersBeforeDispatch(int consumersBeforeDispatch)voidsetDelayBeforeDispatch(long delayBeforeDispatch)voidsetDispatching(boolean dispatching)voidsetEnabled(boolean value)voidsetExclusive(boolean exclusive)voidsetFilter(Filter filter)voidsetGroupBuckets(int groupBuckets)voidsetGroupFirstKey(SimpleString groupFirstKey)voidsetGroupRebalance(boolean groupRebalance)voidsetGroupRebalancePauseDispatch(boolean groupRebalancePauseDispatch)voidsetInternalQueue(boolean internalQueue)voidsetMaxConsumer(int maxConsumers)voidsetMirrorController(boolean mirrorController)voidsetNonDestructive(boolean nonDestructive)voidsetPurgeOnNoConsumers(boolean value)voidsetRingSize(long ringSize)voidsetRoutingType(RoutingType routingType)voidsetSwept(boolean swept)voidsetUser(SimpleString user)StringtoString()voidunproposed(SimpleString groupID)-
Methods inherited from class org.apache.activemq.artemis.utils.critical.CriticalComponentImpl
checkExpiration, getCriticalAnalyzer, measureCritical
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.utils.critical.CriticalComponent
checkExpiration, getCriticalAnalyzer, measureCritical
-
Methods inherited from interface org.apache.activemq.artemis.core.server.Queue
deleteMatchingReferences, expireReferences, forEach
-
-
-
-
Field Detail
-
CRITICAL_PATHS
protected static final int CRITICAL_PATHS
- See Also:
- Constant Field Values
-
CRITICAL_PATH_ADD_TAIL
protected static final int CRITICAL_PATH_ADD_TAIL
- See Also:
- Constant Field Values
-
CRITICAL_PATH_ADD_HEAD
protected static final int CRITICAL_PATH_ADD_HEAD
- See Also:
- Constant Field Values
-
CRITICAL_DELIVER
protected static final int CRITICAL_DELIVER
- See Also:
- Constant Field Values
-
CRITICAL_CONSUMER
protected static final int CRITICAL_CONSUMER
- See Also:
- Constant Field Values
-
CRITICAL_CHECK_DEPAGE
protected static final int CRITICAL_CHECK_DEPAGE
- See Also:
- Constant Field Values
-
NUM_PRIORITIES
public static final int NUM_PRIORITIES
- See Also:
- Constant Field Values
-
MAX_DELIVERIES_IN_LOOP
public static final int MAX_DELIVERIES_IN_LOOP
- See Also:
- Constant Field Values
-
CHECK_QUEUE_SIZE_PERIOD
public static final int CHECK_QUEUE_SIZE_PERIOD
- See Also:
- Constant Field Values
-
DELIVERY_TIMEOUT
public static final int DELIVERY_TIMEOUT
If The system gets slow for any reason, this is the maximum time a Delivery or or depage executor should be hanging on- See Also:
- Constant Field Values
-
DEFAULT_FLUSH_LIMIT
public static final int DEFAULT_FLUSH_LIMIT
- See Also:
- Constant Field Values
-
pageSubscription
protected final PageSubscription pageSubscription
-
messageReferences
protected final PriorityLinkedList<MessageReference> messageReferences
-
pendingMetrics
protected final QueueMessageMetrics pendingMetrics
-
scheduledDeliveryHandler
protected final ScheduledDeliveryHandler scheduledDeliveryHandler
-
dispatching
public volatile int dispatching
-
dispatchStartTime
public volatile long dispatchStartTime
-
-
Constructor Detail
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean purgeOnNoConsumers, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean purgeOnNoConsumers, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
@Deprecated public QueueImpl(long id, SimpleString address, SimpleString name, Filter filter, PagingStore pagingStore, PageSubscription pageSubscription, SimpleString user, boolean durable, boolean temporary, boolean autoCreated, RoutingType routingType, Integer maxConsumers, Boolean exclusive, Boolean groupRebalance, Integer groupBuckets, SimpleString groupFirstKey, Boolean nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch, Boolean purgeOnNoConsumers, Boolean autoDelete, Long autoDeleteDelay, Long autoDeleteMessageCount, boolean configurationManaged, Long ringSize, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
Deprecated.
-
QueueImpl
public QueueImpl(QueueConfiguration queueConfiguration, PagingStore pagingStore, PageSubscription pageSubscription, ScheduledExecutorService scheduledExecutor, PostOffice postOffice, StorageManager storageManager, HierarchicalRepository<AddressSettings> addressSettingsRepository, ArtemisExecutor executor, ActiveMQServer server, QueueFactory factory)
-
-
Method Detail
-
debug
public String debug()
-
allowsReferenceCallback
public boolean allowsReferenceCallback()
Description copied from interface:Queuethe current queue and consumer settings will allow use of the Reference Execution and callback. This is because- Specified by:
allowsReferenceCallbackin interfaceQueue
-
isMirrorController
public boolean isMirrorController()
- Specified by:
isMirrorControllerin interfaceQueue
-
setMirrorController
public void setMirrorController(boolean mirrorController)
- Specified by:
setMirrorControllerin interfaceQueue
-
getRoutingName
public SimpleString getRoutingName()
-
getUniqueName
public SimpleString getUniqueName()
-
getUser
public SimpleString getUser()
-
setUser
public void setUser(SimpleString user)
-
isExclusive
public boolean isExclusive()
- Specified by:
isExclusivein interfaceQueue
-
setExclusive
public void setExclusive(boolean exclusive)
- Specified by:
setExclusivein interfaceQueue
-
getConsumersBeforeDispatch
public int getConsumersBeforeDispatch()
- Specified by:
getConsumersBeforeDispatchin interfaceQueue
-
setConsumersBeforeDispatch
public void setConsumersBeforeDispatch(int consumersBeforeDispatch)
- Specified by:
setConsumersBeforeDispatchin interfaceQueue
-
getDelayBeforeDispatch
public long getDelayBeforeDispatch()
- Specified by:
getDelayBeforeDispatchin interfaceQueue
-
setDelayBeforeDispatch
public void setDelayBeforeDispatch(long delayBeforeDispatch)
- Specified by:
setDelayBeforeDispatchin interfaceQueue
-
getDispatchStartTime
public long getDispatchStartTime()
- Specified by:
getDispatchStartTimein interfaceQueue
-
isDispatching
public boolean isDispatching()
- Specified by:
isDispatchingin interfaceQueue
-
setDispatching
public void setDispatching(boolean dispatching)
- Specified by:
setDispatchingin interfaceQueue
-
isLastValue
public boolean isLastValue()
- Specified by:
isLastValuein interfaceQueue
-
getLastValueKey
public SimpleString getLastValueKey()
- Specified by:
getLastValueKeyin interfaceQueue
-
isNonDestructive
public boolean isNonDestructive()
- Specified by:
isNonDestructivein interfaceQueue
-
setNonDestructive
public void setNonDestructive(boolean nonDestructive)
- Specified by:
setNonDestructivein interfaceQueue
-
route
public void route(Message message, RoutingContext context) throws Exception
-
routeWithAck
public void routeWithAck(Message message, RoutingContext context)
- Specified by:
routeWithAckin interfaceBindable
-
getConsumersRefCount
public ReferenceCounter getConsumersRefCount()
Description copied from interface:QueueThis will hold a reference counter for every consumer present on the queue. The ReferenceCounter will know what to do when the counter became zeroed. This is used to control what to do with temporary queues, especially on shared subscriptions where the queue needs to be deleted when all the consumers are closed.- Specified by:
getConsumersRefCountin interfaceQueue
-
isDurableMessage
public boolean isDurableMessage()
Description copied from interface:QueueThe queue definition could be durable, but the messages could eventually be considered non durable. (e.g. purgeOnNoConsumers)- Specified by:
isDurableMessagein interfaceQueue- Returns:
-
isAutoDelete
public boolean isAutoDelete()
- Specified by:
isAutoDeletein interfaceQueue
-
getAutoDeleteDelay
public long getAutoDeleteDelay()
- Specified by:
getAutoDeleteDelayin interfaceQueue
-
getAutoDeleteMessageCount
public long getAutoDeleteMessageCount()
- Specified by:
getAutoDeleteMessageCountin interfaceQueue
-
isTemporary
public boolean isTemporary()
- Specified by:
isTemporaryin interfaceQueue
-
isAutoCreated
public boolean isAutoCreated()
- Specified by:
isAutoCreatedin interfaceQueue
-
isPurgeOnNoConsumers
public boolean isPurgeOnNoConsumers()
- Specified by:
isPurgeOnNoConsumersin interfaceQueue
-
setPurgeOnNoConsumers
public void setPurgeOnNoConsumers(boolean value)
- Specified by:
setPurgeOnNoConsumersin interfaceQueue
-
setEnabled
public void setEnabled(boolean value)
- Specified by:
setEnabledin interfaceQueue
-
getMaxConsumers
public int getMaxConsumers()
- Specified by:
getMaxConsumersin interfaceQueue
-
setMaxConsumer
public void setMaxConsumer(int maxConsumers)
- Specified by:
setMaxConsumerin interfaceQueue
-
getGroupBuckets
public int getGroupBuckets()
- Specified by:
getGroupBucketsin interfaceQueue
-
setGroupBuckets
public void setGroupBuckets(int groupBuckets)
- Specified by:
setGroupBucketsin interfaceQueue
-
isGroupRebalance
public boolean isGroupRebalance()
- Specified by:
isGroupRebalancein interfaceQueue
-
setGroupRebalance
public void setGroupRebalance(boolean groupRebalance)
- Specified by:
setGroupRebalancein interfaceQueue
-
isGroupRebalancePauseDispatch
public boolean isGroupRebalancePauseDispatch()
- Specified by:
isGroupRebalancePauseDispatchin interfaceQueue
-
setGroupRebalancePauseDispatch
public void setGroupRebalancePauseDispatch(boolean groupRebalancePauseDispatch)
- Specified by:
setGroupRebalancePauseDispatchin interfaceQueue
-
getGroupFirstKey
public SimpleString getGroupFirstKey()
- Specified by:
getGroupFirstKeyin interfaceQueue
-
setGroupFirstKey
public void setGroupFirstKey(SimpleString groupFirstKey)
- Specified by:
setGroupFirstKeyin interfaceQueue
-
isConfigurationManaged
public boolean isConfigurationManaged()
- Specified by:
isConfigurationManagedin interfaceQueue
-
setConfigurationManaged
public void setConfigurationManaged(boolean configurationManaged)
- Specified by:
setConfigurationManagedin interfaceQueue
-
getName
public SimpleString getName()
-
getAddress
public SimpleString getAddress()
- Specified by:
getAddressin interfaceQueue
-
durableDown
public int durableDown(Message message)
- Specified by:
durableDownin interfaceQueue
-
refUp
public void refUp(MessageReference messageReference)
-
refDown
public void refDown(MessageReference messageReference)
-
getPagingStore
public PagingStore getPagingStore()
- Specified by:
getPagingStorein interfaceQueue
-
getPageSubscription
public PageSubscription getPageSubscription()
- Specified by:
getPageSubscriptionin interfaceQueue
-
getRoutingType
public RoutingType getRoutingType()
- Specified by:
getRoutingTypein interfaceQueue
-
setRoutingType
public void setRoutingType(RoutingType routingType)
- Specified by:
setRoutingTypein interfaceQueue
-
unproposed
public void unproposed(SimpleString groupID)
- Specified by:
unproposedin interfaceQueue
-
addHead
public void addHead(MessageReference ref, boolean scheduling)
-
addSorted
public void addSorted(MessageReference ref, boolean scheduling)
-
addHead
public void addHead(List<MessageReference> refs, boolean scheduling)
-
addSorted
public void addSorted(List<MessageReference> refs, boolean scheduling)
-
reload
public void reload(MessageReference ref)
-
addTail
public void addTail(MessageReference ref)
-
flushOnIntermediate
public void flushOnIntermediate(Runnable runnable)
- Specified by:
flushOnIntermediatein interfaceQueue
-
addTail
public void addTail(MessageReference ref, boolean direct)
-
scheduleIfPossible
protected boolean scheduleIfPossible(MessageReference ref)
-
forceDelivery
public void forceDelivery()
Description copied from interface:QueueThis method will make sure that any pending message (including paged message) will be delivered- Specified by:
forceDeliveryin interfaceQueue
-
deliverAsync
public void deliverAsync()
- Specified by:
deliverAsyncin interfaceQueue
-
getExecutor
public ArtemisExecutor getExecutor()
- Specified by:
getExecutorin interfaceQueue
-
deliverNow
public void deliverNow()
-
flushExecutor
public boolean flushExecutor()
- Specified by:
flushExecutorin interfaceQueue
-
addConsumer
public void addConsumer(Consumer consumer) throws Exception
- Specified by:
addConsumerin interfaceQueue- Throws:
Exception
-
addLingerSession
public void addLingerSession(String sessionId)
- Specified by:
addLingerSessionin interfaceQueue
-
removeLingerSession
public void removeLingerSession(String sessionId)
- Specified by:
removeLingerSessionin interfaceQueue
-
removeConsumer
public void removeConsumer(Consumer consumer)
- Specified by:
removeConsumerin interfaceQueue
-
addRedistributor
public void addRedistributor(long delay)
- Specified by:
addRedistributorin interfaceQueue
-
cancelRedistributor
public void cancelRedistributor()
- Specified by:
cancelRedistributorin interfaceQueue
-
getConsumerCount
public int getConsumerCount()
- Specified by:
getConsumerCountin interfaceQueue
-
getConsumerRemovedTimestamp
public long getConsumerRemovedTimestamp()
- Specified by:
getConsumerRemovedTimestampin interfaceQueue
-
getRingSize
public long getRingSize()
- Specified by:
getRingSizein interfaceQueue
-
setRingSize
public void setRingSize(long ringSize)
- Specified by:
setRingSizein interfaceQueue
-
getCreatedTimestamp
public long getCreatedTimestamp()
- Specified by:
getCreatedTimestampin interfaceQueue
-
getMessageCountForRing
public long getMessageCountForRing()
-
getConsumers
public Set<Consumer> getConsumers()
- Specified by:
getConsumersin interfaceQueue
-
getGroups
public Map<SimpleString,Consumer> getGroups()
-
resetGroup
public void resetGroup(SimpleString groupId)
- Specified by:
resetGroupin interfaceQueue
-
resetAllGroups
public void resetAllGroups()
- Specified by:
resetAllGroupsin interfaceQueue
-
getGroupCount
public int getGroupCount()
- Specified by:
getGroupCountin interfaceQueue
-
hasMatchingConsumer
public boolean hasMatchingConsumer(Message message)
- Specified by:
hasMatchingConsumerin interfaceQueue
-
iterator
public LinkedListIterator<MessageReference> iterator()
Description copied from interface:QueueIt will iterate through memory only (not paging)
-
browserIterator
public org.apache.activemq.artemis.core.server.impl.QueueImpl.QueueBrowserIterator browserIterator()
- Specified by:
browserIteratorin interfaceQueue
-
peekFirstMessage
public MessageReference peekFirstMessage()
- Specified by:
peekFirstMessagein interfaceQueue
-
removeReferenceWithID
public MessageReference removeReferenceWithID(long id1) throws Exception
- Specified by:
removeReferenceWithIDin interfaceQueue- Throws:
Exception
-
getReference
public MessageReference getReference(long id1) throws ActiveMQException
- Specified by:
getReferencein interfaceQueue- Throws:
ActiveMQException
-
getMessageCount
public long getMessageCount()
- Specified by:
getMessageCountin interfaceQueue
-
getPersistentSize
public long getPersistentSize()
Description copied from interface:QueueThis is the size of the messages in the queue when persisted on disk which is used for metrics tracking to give an idea of the amount of data on the queue to be consumed Note that this includes all messages on the queue, even messages that are non-durable which may only be in memory- Specified by:
getPersistentSizein interfaceQueue
-
getDurableMessageCount
public long getDurableMessageCount()
Description copied from interface:QueueThis is the number of the durable messages in the queue- Specified by:
getDurableMessageCountin interfaceQueue
-
getDurablePersistentSize
public long getDurablePersistentSize()
Description copied from interface:QueueThis is the persistent size of all the durable messages in the queue- Specified by:
getDurablePersistentSizein interfaceQueue
-
getScheduledCount
public int getScheduledCount()
- Specified by:
getScheduledCountin interfaceQueue
-
getScheduledSize
public long getScheduledSize()
- Specified by:
getScheduledSizein interfaceQueue
-
getDurableScheduledCount
public int getDurableScheduledCount()
- Specified by:
getDurableScheduledCountin interfaceQueue
-
getDurableScheduledSize
public long getDurableScheduledSize()
- Specified by:
getDurableScheduledSizein interfaceQueue
-
getScheduledMessages
public List<MessageReference> getScheduledMessages()
- Specified by:
getScheduledMessagesin interfaceQueue
-
getDeliveringMessages
public Map<String,List<MessageReference>> getDeliveringMessages()
Description copied from interface:QueueReturn a Map consisting of consumer.toString and its messages Delivering message is a property of the consumer, this method will aggregate the results per Server's consumer object- Specified by:
getDeliveringMessagesin interfaceQueue- Returns:
-
getDeliveringCount
public int getDeliveringCount()
- Specified by:
getDeliveringCountin interfaceQueue
-
getDeliveringSize
public long getDeliveringSize()
- Specified by:
getDeliveringSizein interfaceQueue
-
getDurableDeliveringCount
public int getDurableDeliveringCount()
- Specified by:
getDurableDeliveringCountin interfaceQueue
-
getDurableDeliveringSize
public long getDurableDeliveringSize()
- Specified by:
getDurableDeliveringSizein interfaceQueue
-
acknowledge
public void acknowledge(MessageReference ref) throws Exception
- Specified by:
acknowledgein interfaceQueue- Throws:
Exception
-
acknowledge
public void acknowledge(MessageReference ref, ServerConsumer consumer) throws Exception
- Specified by:
acknowledgein interfaceQueue- Throws:
Exception
-
acknowledge
public void acknowledge(MessageReference ref, AckReason reason, ServerConsumer consumer) throws Exception
- Specified by:
acknowledgein interfaceQueue- Throws:
Exception
-
acknowledge
public void acknowledge(Transaction tx, MessageReference ref) throws Exception
- Specified by:
acknowledgein interfaceQueue- Throws:
Exception
-
acknowledge
public void acknowledge(Transaction tx, MessageReference ref, AckReason reason, ServerConsumer consumer, boolean delivering) throws Exception
The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering. Example: Mirror replication will call the ack here without any consumer involved. On that case no previous delivery happened, hence no information about delivering statistics should be updated.- Specified by:
acknowledgein interfaceQueue- Throws:
Exception
-
reacknowledge
public void reacknowledge(Transaction tx, MessageReference ref) throws Exception
- Specified by:
reacknowledgein interfaceQueue- Throws:
Exception
-
cancel
public void cancel(Transaction tx, MessageReference reference)
-
cancel
public void cancel(Transaction tx, MessageReference reference, boolean ignoreRedeliveryCheck)
-
cancel
public void cancel(MessageReference reference, long timeBase) throws Exception
-
expire
public void expire(MessageReference ref) throws Exception
-
expire
public void expire(MessageReference ref, ServerConsumer consumer, boolean delivering) throws Exception
The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering. Example: Mirror replication will call the ack here without any consumer involved. On that case no previous delivery happened, hence no information about delivering statistics should be updated.
-
getExpiryAddress
public SimpleString getExpiryAddress()
- Specified by:
getExpiryAddressin interfaceQueue
-
getDeadLetterAddress
public SimpleString getDeadLetterAddress()
- Specified by:
getDeadLetterAddressin interfaceQueue
-
referenceHandled
public void referenceHandled(MessageReference ref)
- Specified by:
referenceHandledin interfaceQueue
-
incrementMesssagesAdded
public void incrementMesssagesAdded()
- Specified by:
incrementMesssagesAddedin interfaceQueue
-
deliverScheduledMessages
public void deliverScheduledMessages() throws ActiveMQExceptionDescription copied from interface:Queuecancels scheduled messages and send them to the head of the queue.- Specified by:
deliverScheduledMessagesin interfaceQueue- Throws:
ActiveMQException
-
deliverScheduledMessages
public void deliverScheduledMessages(String filterString) throws ActiveMQException
Description copied from interface:Queuecancels scheduled messages which match the filter and send them to the head of the queue.- Specified by:
deliverScheduledMessagesin interfaceQueue- Throws:
ActiveMQException
-
deliverScheduledMessage
public void deliverScheduledMessage(long messageId) throws ActiveMQExceptionDescription copied from interface:Queuecancels scheduled message with the corresponding message ID and sends it to the head of the queue.- Specified by:
deliverScheduledMessagein interfaceQueue- Throws:
ActiveMQException
-
getMessagesAdded
public long getMessagesAdded()
- Specified by:
getMessagesAddedin interfaceQueue
-
getMessagesAcknowledged
public long getMessagesAcknowledged()
- Specified by:
getMessagesAcknowledgedin interfaceQueue
-
getAcknowledgeAttempts
public long getAcknowledgeAttempts()
- Specified by:
getAcknowledgeAttemptsin interfaceQueue
-
getMessagesExpired
public long getMessagesExpired()
- Specified by:
getMessagesExpiredin interfaceQueue
-
getMessagesKilled
public long getMessagesKilled()
- Specified by:
getMessagesKilledin interfaceQueue
-
getMessagesReplaced
public long getMessagesReplaced()
- Specified by:
getMessagesReplacedin interfaceQueue
-
deleteAllReferences
public int deleteAllReferences() throws Exception- Specified by:
deleteAllReferencesin interfaceQueue- Throws:
Exception
-
deleteAllReferences
public int deleteAllReferences(int flushLimit) throws Exception- Specified by:
deleteAllReferencesin interfaceQueue- Throws:
Exception
-
deleteMatchingReferences
public int deleteMatchingReferences(Filter filter) throws Exception
- Specified by:
deleteMatchingReferencesin interfaceQueue- Throws:
Exception
-
deleteMatchingReferences
public int deleteMatchingReferences(int flushLimit, Filter filter1, AckReason ackReason) throws Exception- Specified by:
deleteMatchingReferencesin interfaceQueue- Throws:
Exception
-
destroyPaging
public void destroyPaging() throws Exception- Specified by:
destroyPagingin interfaceQueue- Throws:
Exception
-
deleteReference
public boolean deleteReference(long messageID) throws Exception- Specified by:
deleteReferencein interfaceQueue- Throws:
Exception
-
deleteQueue
public void deleteQueue() throws Exception- Specified by:
deleteQueuein interfaceQueue- Throws:
Exception
-
removeAddress
public void removeAddress() throws ExceptionDescription copied from interface:QueueThis method will push a removeAddress call into server's remove address- Specified by:
removeAddressin interfaceQueue- Throws:
Exception
-
deleteQueue
public void deleteQueue(boolean removeConsumers) throws Exception- Specified by:
deleteQueuein interfaceQueue- Throws:
Exception
-
expireReference
public boolean expireReference(long messageID) throws Exception- Specified by:
expireReferencein interfaceQueue- Throws:
Exception
-
expireReferences
public int expireReferences(Filter filter) throws Exception
Description copied from interface:QueueExpire all the references in the queue which matches the filter- Specified by:
expireReferencesin interfaceQueue- Throws:
Exception
-
expireReferences
public void expireReferences(Runnable done)
- Specified by:
expireReferencesin interfaceQueue
-
isExpirationRedundant
public boolean isExpirationRedundant()
-
sendMessageToDeadLetterAddress
public boolean sendMessageToDeadLetterAddress(long messageID) throws Exception- Specified by:
sendMessageToDeadLetterAddressin interfaceQueue- Throws:
Exception
-
sendMessagesToDeadLetterAddress
public int sendMessagesToDeadLetterAddress(Filter filter) throws Exception
- Specified by:
sendMessagesToDeadLetterAddressin interfaceQueue- Throws:
Exception
-
moveReference
public boolean moveReference(long messageID, SimpleString toAddress, Binding binding, boolean rejectDuplicate) throws Exception- Specified by:
moveReferencein interfaceQueue- Throws:
Exception
-
moveReferences
public int moveReferences(Filter filter, SimpleString toAddress, Binding binding) throws Exception
- Specified by:
moveReferencesin interfaceQueue- Throws:
Exception
-
moveReferences
public int moveReferences(int flushLimit, Filter filter, SimpleString toAddress, boolean rejectDuplicates, Binding binding) throws Exception- Specified by:
moveReferencesin interfaceQueue- Throws:
Exception
-
moveReferences
public int moveReferences(int flushLimit, Filter filter, SimpleString toAddress, boolean rejectDuplicates, int messageCount, Binding binding) throws Exception- Specified by:
moveReferencesin interfaceQueue- Throws:
Exception
-
moveReferencesBetweenSnFQueues
public int moveReferencesBetweenSnFQueues(SimpleString queueSuffix) throws Exception
- Throws:
Exception
-
rerouteMessages
public int rerouteMessages(SimpleString queueName, Filter filter) throws Exception
- Throws:
Exception
-
retryMessages
public int retryMessages(Filter filter) throws Exception
- Specified by:
retryMessagesin interfaceQueue- Throws:
Exception
-
retryMessages
public int retryMessages(Filter filter, Integer expectedHits) throws Exception
- Specified by:
retryMessagesin interfaceQueue- Throws:
Exception
-
changeReferencePriority
public boolean changeReferencePriority(long messageID, byte newPriority) throws Exception- Specified by:
changeReferencePriorityin interfaceQueue- Throws:
Exception
-
changeReferencesPriority
public int changeReferencesPriority(Filter filter, byte newPriority) throws Exception
- Specified by:
changeReferencesPriorityin interfaceQueue- Throws:
Exception
-
resetAllIterators
public void resetAllIterators()
- Specified by:
resetAllIteratorsin interfaceQueue
-
pause
public void pause()
Description copied from interface:QueuePauses the queue. It will receive messages but won't give them to the consumers until resumed. If a queue is paused, pausing it again will only throw a warning. To check if a queue is paused, invoke isPaused()
-
reloadPause
public void reloadPause(long recordID)
- Specified by:
reloadPausein interfaceQueue
-
pause
public void pause(boolean persist)
Description copied from interface:QueuePauses the queue. It will receive messages but won't give them to the consumers until resumed. If a queue is paused, pausing it again will only throw a warning. To check if a queue is paused, invoke isPaused()
-
resume
public void resume()
Description copied from interface:QueueResumes the delivery of message for the queue. If a queue is resumed, resuming it again will only throw a warning. To check if a queue is resumed, invoke isPaused()
-
isPaused
public boolean isPaused()
-
isPersistedPause
public boolean isPersistedPause()
Description copied from interface:Queueif the pause was persisted- Specified by:
isPersistedPausein interfaceQueue- Returns:
-
isDirectDeliver
public boolean isDirectDeliver()
- Specified by:
isDirectDeliverin interfaceQueue
-
isInternalQueue
public boolean isInternalQueue()
Description copied from interface:QueueWe can't send stuff to DLQ on queues used on clustered-bridge-communication- Specified by:
isInternalQueuein interfaceQueue- Returns:
- the internalQueue
-
setInternalQueue
public void setInternalQueue(boolean internalQueue)
- Specified by:
setInternalQueuein interfaceQueue- Parameters:
internalQueue- the internalQueue to set
-
pruneLastValues
protected void pruneLastValues()
-
removeMessageReference
protected void removeMessageReference(QueueImpl.ConsumerHolder<? extends Consumer> holder, MessageReference ref)
-
refRemoved
protected void refRemoved(MessageReference ref)
-
addRefSize
protected void addRefSize(MessageReference ref)
-
refAdded
protected void refAdded(MessageReference ref)
-
removeWithSuppliedID
public MessageReference removeWithSuppliedID(String serverID, long id, NodeStore<MessageReference> nodeStore)
Description copied from interface:QueueRemove item with a supplied non-negative (>= 0) ID. If the idSupplier returns < 0 the ID is considered a non value (null) and it will be ignored.- Specified by:
removeWithSuppliedIDin interfaceQueue- See Also:
LinkedList.setNodeStore(NodeStore)
-
checkRedelivery
public Pair<Boolean,Boolean> checkRedelivery(MessageReference reference, long timeBase, boolean ignoreRedeliveryDelay) throws Exception
- Specified by:
checkRedeliveryin interfaceQueue- Returns:
- a Pair of Booleans: the first indicates whether or not redelivery happened; the second indicates whether or not the message was actually sent to a DLA with bindings
- Throws:
Exception
-
getNumberOfReferences
public int getNumberOfReferences()
Used on testing only *
-
sendToDeadLetterAddress
public boolean sendToDeadLetterAddress(Transaction tx, MessageReference ref) throws Exception
- Specified by:
sendToDeadLetterAddressin interfaceQueue- Returns:
- whether or not the message was actually sent to a DLA with bindings
- Throws:
Exception
-
errorProcessing
public void errorProcessing(Consumer consumer, Throwable t, MessageReference reference)
This will print errors and decide what to do with the errored consumer from the protocol layer.- Specified by:
errorProcessingin interfaceQueue
-
postAcknowledge
public void postAcknowledge(MessageReference ref, AckReason reason)
- Specified by:
postAcknowledgein interfaceQueue
-
postAcknowledge
public void postAcknowledge(MessageReference ref, AckReason reason, boolean delivering)
The parameter delivering can be sent as false in situation where the ack is coming outside of the context of delivering. Example: Mirror replication will call the ack here without any consumer involved. On that case no previous delivery happened, hence no information about delivering statistics should be updated.- Specified by:
postAcknowledgein interfaceQueue
-
resetMessagesAdded
public void resetMessagesAdded()
- Specified by:
resetMessagesAddedin interfaceQueue
-
resetMessagesAcknowledged
public void resetMessagesAcknowledged()
- Specified by:
resetMessagesAcknowledgedin interfaceQueue
-
resetMessagesExpired
public void resetMessagesExpired()
- Specified by:
resetMessagesExpiredin interfaceQueue
-
resetMessagesKilled
public void resetMessagesKilled()
- Specified by:
resetMessagesKilledin interfaceQueue
-
recheckRefCount
public void recheckRefCount(OperationContext context)
Description copied from interface:QueueThis is to perform a check on the counter again- Specified by:
recheckRefCountin interfaceQueue
-
groupMap
public static MessageGroups<Consumer> groupMap(int groupBuckets)
-
getQueueConfiguration
public QueueConfiguration getQueueConfiguration()
- Specified by:
getQueueConfigurationin interfaceQueue
-
incDelivering
public void incDelivering(MessageReference ref)
-
decDelivering
public void decDelivering(MessageReference reference)
-
-