com.groupbyinc.flux.common.util.concurrent.ReleasableLock.class Maven / Gradle / Ivy
???? 4 g 9com/groupbyinc/flux/common/util/concurrent/ReleasableLock java/lang/Object +com/groupbyinc/flux/common/lease/Releasable ReleasableLock.java lock !Ljava/util/concurrent/locks/Lock; holdingThreads Ljava/lang/ThreadLocal; ,Ljava/lang/ThreadLocal; $assertionsDisabled Z $(Ljava/util/concurrent/locks/Lock;)V ()V
com/groupbyinc/flux/Assertions ENABLED java/lang/ThreadLocal
java/util/concurrent/locks/Lock this ;Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock; close unlock % ! &
( removeCurrentThread ()Z * +
, java/lang/AssertionError .
/ acquire =()Lcom/groupbyinc/flux/common/util/concurrent/ReleasableLock; 0com/groupbyinc/flux/index/engine/EngineException 3 ! 5 addCurrentThread 7 +
8 get ()Ljava/lang/Object; : ;
< java/lang/Integer > intValue ()I @ A
? B valueOf (I)Ljava/lang/Integer; D E
? F set (Ljava/lang/Object;)V H I
J current Ljava/lang/Integer; remove N
O count isHeldByCurrentThread 'java/lang/UnsupportedOperationException S asserts must be enabled U (Ljava/lang/String;)V W
T X java/lang/Class [ desiredAssertionStatus ] +
\ ^ Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
`
a ? #*? *+? ? ? *? Y? ? ? *? ? b # " # # c &