
org.apache.jackrabbit.mk.util.CommitGate.class Maven / Gradle / Ivy
???? 2 M
. /
. 0 1
2 3
4 5
6
7
8 9 :
; < = currentHead Ljava/lang/String; latchRef -Ljava/util/concurrent/atomic/AtomicReference; Signature TLjava/util/concurrent/atomic/AtomicReference; ()V Code LineNumberTable LocalVariableTable this *Lorg/apache/jackrabbit/mk/util/CommitGate;
waitForCommit '(Ljava/lang/String;J)Ljava/lang/String; old %Ljava/util/concurrent/CountDownLatch; lastHead millis J latch
StackMapTable 5
Exceptions > commit (Ljava/lang/String;)V newHead
SourceFile CommitGate.java +java/util/concurrent/atomic/AtomicReference ? @ A B C #java/util/concurrent/CountDownLatch D E F G H I J K L (org/apache/jackrabbit/mk/util/CommitGate java/lang/Object java/lang/InterruptedException java/lang/String equals (Ljava/lang/Object;)Z get ()Ljava/lang/Object; (I)V getAndSet &(Ljava/lang/Object;)Ljava/lang/Object; countDown java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; await #(JLjava/util/concurrent/TimeUnit;)Z ! B B > *? *? Y? ? ?
? _ ?? *? ? *? +? ? *? ?*? ? ? :? %? Y? :*? ?
? :? ? ? ?
W*? ? *
) * , ) - . . 8 / F 0 K 2 P 5 Z 6 4 F
_ _ ! _ " # ) 6 $ %
? 2 &