org.apache.activemq.broker.region.PrefetchSubscription.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1? ?Z
?[\
] ?^ ?_ ?` ?ab
] ?cd
] ?ef
g ?h ?i ?jkl ?mn
o
?p
?q
?r ?s ?t ?u
vwxwyz !{
?|
}~???????? ?
???
)?
??? ??
???? [?
? ???????x?? [? [?
??
???? [?
????
??????
B]?
B?
B??
???
??
??
B?
A? ??
? ??????????
??
???
X]?v?
??
?? ?? !?
??
??
???
c?
??
??
??
?????
??
???v [? ??k? !?
??
??
???
?? !??????????
???
B???k?k??? ??
?q?ٙ???????????????????
????
????
??????
??
????
??
????
??
??
??
??
?? !?
?
?
???
?
??
?
B
??
?]
?
?
?]
?
?
? ! [
?
LOG Lorg/apache/commons/logging/Log; scheduler &Lorg/apache/activemq/thread/Scheduler; pending @Lorg/apache/activemq/broker/region/cursors/PendingMessageCursor;
dispatched Ljava/util/List; Signature FLjava/util/List; prefetchExtension I usePrefetchExtension Z enqueueCounter J dispatchCounter dequeueCounter maxProducersToAudit
maxAuditDepth usageManager 'Lorg/apache/activemq/usage/SystemUsage; pendingLock Ljava/lang/Object; dispatchLock audit *Lorg/apache/activemq/ActiveMQMessageAudit; okForAckAsDispatchDone %Ljava/util/concurrent/CountDownLatch; ?(Lorg/apache/activemq/broker/Broker;Lorg/apache/activemq/usage/SystemUsage;Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConsumerInfo;Lorg/apache/activemq/broker/region/cursors/PendingMessageCursor;)V Code LineNumberTable LocalVariableTable this 8Lorg/apache/activemq/broker/region/PrefetchSubscription; broker #Lorg/apache/activemq/broker/Broker; context .Lorg/apache/activemq/broker/ConnectionContext; info *Lorg/apache/activemq/command/ConsumerInfo; cursor
Exceptions ?(Lorg/apache/activemq/broker/Broker;Lorg/apache/activemq/usage/SystemUsage;Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/ConsumerInfo;)V pullMessage (Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/MessagePull;)Lorg/apache/activemq/command/Response; dest /Lorg/apache/activemq/broker/region/Destination; i$ Ljava/util/Iterator; dispatchCounterBeforePull pull )Lorg/apache/activemq/command/MessagePull; pullTimeout (J)V e Ljava/lang/Exception; add 7(Lorg/apache/activemq/broker/region/MessageReference;)V node 4Lorg/apache/activemq/broker/region/MessageReference; "processMessageDispatchNotification <(Lorg/apache/activemq/command/MessageDispatchNotification;)V mdn 9Lorg/apache/activemq/command/MessageDispatchNotification; acknowledge Y(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/MessageAck;)V messageId 'Lorg/apache/activemq/command/MessageId; index
inAckRange
removeList iter ack (Lorg/apache/activemq/command/MessageAck; callDispatchMatched destination LocalVariableTypeTable JLjava/util/Iterator; assertAckMatchesDispatched +(Lorg/apache/activemq/command/MessageAck;)V
firstAckedMsg lastAckedMsg
checkCount checkFoundStart
checkFoundEnd sendToDLQ e(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/broker/region/MessageReference;)V getInFlightSize ()I isFull ()Z isLowWaterMark isHighWaterMark countBeforeFull getPendingQueueSize getDispatchedQueueSize getDequeueCounter ()J getDispatchedCounter getEnqueueCounter isRecoveryRequired
getPending B()Lorg/apache/activemq/broker/region/cursors/PendingMessageCursor;
setPending C(Lorg/apache/activemq/broker/region/cursors/PendingMessageCursor;)V `(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/broker/region/Destination;)V remove o(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/broker/region/Destination;)Ljava/util/List; r rc ?(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/broker/region/Destination;)Ljava/util/List; dispatchPending ()V count numberToDispatch dispatch 7(Lorg/apache/activemq/broker/region/MessageReference;)Z md -Lorg/apache/activemq/command/MessageDispatch; message %Lorg/apache/activemq/command/Message;
onDispatch \(Lorg/apache/activemq/broker/region/MessageReference;Lorg/apache/activemq/command/Message;)V Ljava/io/IOException; updateConsumerPrefetch (I)V cc -Lorg/apache/activemq/command/ConsumerControl; newPrefetch createMessageDispatch ?(Lorg/apache/activemq/broker/region/MessageReference;Lorg/apache/activemq/command/Message;)Lorg/apache/activemq/command/MessageDispatch; canDispatch isDropped ?(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/MessageAck;Lorg/apache/activemq/broker/region/MessageReference;)V getMaxProducersToAudit setMaxProducersToAudit getMaxAuditDepth setMaxAuditDepth isUsePrefetchExtension setUsePrefetchExtension (Z)V
access$000 L(Lorg/apache/activemq/broker/region/PrefetchSubscription;)Ljava/lang/Object; x0
SourceFile PrefetchSubscription.java ? ? ? )java/util/concurrent/CopyOnWriteArrayList ?7 ? ? ? ? ? ? ? ? java/lang/Object ? ? (org/apache/activemq/ActiveMQMessageAudit ? ? #java/util/concurrent/CountDownLatch ?D ? ? ? ? ? ? ! ? ? @org/apache/activemq/broker/region/cursors/VMPendingMessageCursor ?S ? ?"#! ? ? ? ?$%&'()!*+ -org/apache/activemq/broker/region/Destination,!67-.(/01 ? 8org/apache/activemq/broker/region/PrefetchSubscription$1 InnerClasses ?2345 java/lang/Exception ? ?6789:;<=>? ? ?@A B7*CDEFGHI?17JKHIL ??@AM7 javax/jms/JMSException java/lang/StringBuilder :Slave broker out of sync with master: Dispatched message (NONP ") was not in the pending list for QR on STUVWXW ?YZ[\]^ ? ? ?Ignoring ack received before dispatch; result of failover with an outstanding ack. Acked messages will be replayed if present on this broker. Ignored ack: _`ab! ack:cade! java/util/ArrayList 2org/apache/activemq/broker/region/MessageReferencefFg! ? ?hijklmn7op 8org/apache/activemq/broker/region/PrefetchSubscription$2 ?qrstLuFvwx1?