org.apache.activemq.store.kahadaptor.KahaReferenceStore.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
???? 1w
Y ? ?
? W ? ?
? W ? W ? W ?
Y ? ? ?
? ? ? ?
?
? ? ?
? ? ? ? ? ? ? ? ? ? ?
W ? ? ? ? ? W ? ? ? W ? ? ? W ? ? ? ?
" ? W ?
? ?
" ? ?
" ? ? ? ?
W ?
?
? ? ?
W ?
? ? ?
" ? ?
? ?
K ? ?
W
?
W ?
W =
? ?
H
K ?
K
W ?! ?"
?#
?$%&
'()* LOG Lorg/apache/commons/logging/Log; messageContainer 'Lorg/apache/activemq/kaha/MapContainer; Signature ?Lorg/apache/activemq/kaha/MapContainer; adapter @Lorg/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter;
dispatchAudit *Lorg/apache/activemq/ActiveMQMessageAudit;
batchEntry %Lorg/apache/activemq/kaha/StoreEntry; lastBatchId Ljava/lang/String; lock !Ljava/util/concurrent/locks/Lock; ?(Lorg/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter;Lorg/apache/activemq/kaha/MapContainer;Lorg/apache/activemq/command/ActiveMQDestination;)V Code LineNumberTable LocalVariableTable this 9Lorg/apache/activemq/store/kahadaptor/KahaReferenceStore; container destination 1Lorg/apache/activemq/command/ActiveMQDestination; LocalVariableTypeTable
Exceptions+ ?(Lorg/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter;Lorg/apache/activemq/kaha/MapContainer;Lorg/apache/activemq/command/ActiveMQDestination;)V getStoreLock #()Ljava/util/concurrent/locks/Lock; dispose 1(Lorg/apache/activemq/broker/ConnectionContext;)V context .Lorg/apache/activemq/broker/ConnectionContext; getMessageId ;(Ljava/lang/Object;)Lorg/apache/activemq/command/MessageId; object Ljava/lang/Object;
addMessage V(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/Message;)V message %Lorg/apache/activemq/command/Message;
getMessage N(Lorg/apache/activemq/command/MessageId;)Lorg/apache/activemq/command/Message; identity 'Lorg/apache/activemq/command/MessageId; recoverReference l(Lorg/apache/activemq/store/MessageRecoveryListener;Lorg/apache/activemq/store/kahadaptor/ReferenceRecord;)Z listener 3Lorg/apache/activemq/store/MessageRecoveryListener; record 6Lorg/apache/activemq/store/kahadaptor/ReferenceRecord; id, recover 6(Lorg/apache/activemq/store/MessageRecoveryListener;)V entry recoverNextMessages 7(ILorg/apache/activemq/store/MessageRecoveryListener;)V msg count I maxReturned addMessageReference-
ReferenceData InnerClasses ?(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/MessageId;Lorg/apache/activemq/store/ReferenceStore$ReferenceData;)Z messageId data 8Lorg/apache/activemq/store/ReferenceStore$ReferenceData; uniqueueReferenceAdded Z isDuplicate *(Lorg/apache/activemq/command/MessageId;)Z duplicate getMessageReference a(Lorg/apache/activemq/command/MessageId;)Lorg/apache/activemq/store/ReferenceStore$ReferenceData; result
removeMessage Y(Lorg/apache/activemq/broker/ConnectionContext;Lorg/apache/activemq/command/MessageAck;)V rr msgId ack (Lorg/apache/activemq/command/MessageAck; recordAckFileReferences 5(Lorg/apache/activemq/kaha/MessageAckWithLocation;I)V 1Lorg/apache/activemq/kaha/MessageAckWithLocation;
messageFileId removeAllMessages i$ Ljava/util/Iterator; tmpSet Ljava/util/Set; 8Ljava/util/Set; delete ()V
resetBatching getMessageCount ()I isSupportForCursors ()Z supportsExternalBatchControl removeInterest 9(Lorg/apache/activemq/store/kahadaptor/ReferenceRecord;)V addInterest setBatch *(Lorg/apache/activemq/command/MessageId;)V
startAfter
SourceFile KahaReferenceStore.java k. (org/apache/activemq/ActiveMQMessageAudit k ? c d (java/util/concurrent/locks/ReentrantLock i j a b ] ^ { |/ ? ?012 %org/apache/activemq/command/MessageId 4org/apache/activemq/store/kahadaptor/ReferenceRecord 3 k4 java/lang/RuntimeException Use addMessageReference instead56 ?7 ?8 i ?9:;< ? ?=>? ? e f@> g h ? ? [ \AB ? java/lang/StringBuilder s tCD3EF ' did not recover (will retry) message: G3HI skipping duplicate, kJKL ? ?M3 add: ENOP B ignoring duplicated (add) message reference, already dispatched: @ ignoring duplicated (add) message reference, already in store: QRSTUVWXYR ? ? /org/apache/activemq/kaha/MessageAckWithLocationZ ? ? ? remove reference: [ ?\]P^ ? ?_`ab ? ?c java/util/HashSetde kf &org/apache/activemq/command/MessageAckghijk ?lmn ? ? ?o ?p ?qrsr
setBatch: 7org/apache/activemq/store/kahadaptor/KahaReferenceStoretuv .org/apache/activemq/store/AbstractMessageStore (org/apache/activemq/store/ReferenceStore java/io/IOException java/lang/Exception 6org/apache/activemq/store/ReferenceStore$ReferenceData 4(Lorg/apache/activemq/command/ActiveMQDestination;)V %org/apache/activemq/kaha/MapContainer >org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter removeReferenceStore <(Lorg/apache/activemq/store/kahadaptor/KahaReferenceStore;)V ()Ljava/lang/String; (Ljava/lang/String;)V 1org/apache/activemq/store/MessageRecoveryListener hasSpace recoverMessageReference java/util/concurrent/locks/Lock getFirst '()Lorg/apache/activemq/kaha/StoreEntry; getValue 9(Lorg/apache/activemq/kaha/StoreEntry;)Ljava/lang/Object; getNext L(Lorg/apache/activemq/kaha/StoreEntry;)Lorg/apache/activemq/kaha/StoreEntry; unlock refresh org/apache/commons/logging/Log isDebugEnabled /org/apache/activemq/command/ActiveMQDestination getQualifiedName append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString debug (Ljava/lang/Object;)V M(Ljava/lang/String;Lorg/apache/activemq/store/ReferenceStore$ReferenceData;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getPhysicalName -(Ljava/lang/Object;)Ljava/lang/StringBuilder; containsKey (Ljava/lang/Object;)Z get &(Ljava/lang/Object;)Ljava/lang/Object; getData :()Lorg/apache/activemq/store/ReferenceStore$ReferenceData; getLastMessageId )()Lorg/apache/activemq/command/MessageId; getEntry 9(Ljava/lang/Object;)Lorg/apache/activemq/kaha/StoreEntry; remove getFileId isEmpty java/lang/String equals java/lang/Object location .Lorg/apache/activemq/kaha/impl/async/Location; ,org/apache/activemq/kaha/impl/async/Location
getDataFileId (II)V keySet ()Ljava/util/Set; (Ljava/util/Collection;)V
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; setLastMessageId clear size removeInterestInRecordFile (I)V addInterestInRecordFile %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! W Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m ? &*-? *? Y? ? *? Y? ? *+? *,? ? n : 3 6 ; <