Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » broker » region » [javadoc | source]
public class: QueueSubscription [javadoc | source]

All Implemented Interfaces:
    LockOwner, Subscription

Direct Known Subclasses:

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Fields inherited from
scheduler,  pending,  dispatched,  prefetchExtension,  enqueueCounter,  dispatchCounter,  dequeueCounter,  usageManager,  audit
Fields inherited from
broker,  context,  info,  destinationFilter,  destinations
 public QueueSubscription(Broker broker,
    SystemUsage usageManager,
    ConnectionContext context,
    ConsumerInfo info) throws InvalidSelectorException 
Method from Summary:
acknowledge,   assignGroupToMe,   canDispatch,   destroy,   getLockPriority,   isDropped,   isLockExclusive,   toString
Methods from
acknowledge,   acknowledge,   add,   add,   assertAckMatchesDispatched,   canDispatch,   countBeforeFull,   createMessageDispatch,   dispatch,   dispatchPending,   getDequeueCounter,   getDispatchedCounter,   getDispatchedQueueSize,   getEnqueueCounter,   getInFlightSize,   getMaxAuditDepth,   getMaxProducersToAudit,   getPending,   getPendingQueueSize,   isDropped,   isFull,   isHighWaterMark,   isLowWaterMark,   isRecoveryRequired,   onDispatch,   processMessageDispatchNotification,   pullMessage,   pullTimeout,   remove,   sendToDLQ,   setMaxAuditDepth,   setMaxProducersToAudit,   setPending,   updateConsumerPrefetch
Methods from
add,   addDestination,   addRecoveredMessage,   countBeforeFull,   doAddRecoveredMessage,   gc,   getActiveMQDestination,   getConsumerInfo,   getContext,   getCursorMemoryHighWaterMark,   getInFlightUsage,   getInfo,   getObjectName,   getPrefetchSize,   getSelector,   getSelectorExpression,   isBrowser,   isRecoveryRequired,   isSlave,   matches,   matches,   remove,   removeDestination,   setCursorMemoryHighWaterMark,   setObjectName,   setPrefetchSize,   setSelector
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 protected  void acknowledge(ConnectionContext context,
    MessageAck ack,
    MessageReference n) throws IOException 
    In the queue case, mark the node as dropped and then a gc cycle will remove it from the queue.
 protected  void assignGroupToMe(MessageGroupMap messageGroupOwners,
    MessageReference n,
    String groupId) throws IOException 
    Assigns the message group to this subscription and set the flag on the message that it is the first message to be dispatched.
 protected boolean canDispatch(MessageReference n) throws IOException 
 public  void destroy() 
 public int getLockPriority() 
 protected boolean isDropped(MessageReference node) 
 public boolean isLockExclusive() 
 public synchronized String toString()