com.groupbyinc.flux.env.NodeEnvironment$InternalShardLock.class Maven / Gradle / Ivy
???? 4 ? 9com/groupbyinc/flux/env/NodeEnvironment$InternalShardLock java/lang/Object NodeEnvironment.java 'com/groupbyinc/flux/env/NodeEnvironment InternalShardLock mutex Ljava/util/concurrent/Semaphore; waitCount I shardId )Lcom/groupbyinc/flux/index/shard/ShardId; $assertionsDisabled Z this$0 )Lcom/groupbyinc/flux/env/NodeEnvironment; U(Lcom/groupbyinc/flux/env/NodeEnvironment;Lcom/groupbyinc/flux/index/shard/ShardId;)V ()V
java/util/concurrent/Semaphore (I)V
!
# acquireUninterruptibly %
& this ;Lcom/groupbyinc/flux/env/NodeEnvironment$InternalShardLock; release *
+ decWaitCount -
. incWaitCount
access$200 :(Lcom/groupbyinc/flux/env/NodeEnvironment;)Ljava/util/Map; 1 2
3 5 java/lang/AssertionError 7 java/lang/StringBuilder 9
:
waitCount is < append -(Ljava/lang/String;)Ljava/lang/StringBuilder; > ?
: @ (I)Ljava/lang/StringBuilder; > B
: C but should be > 0 E toString ()Ljava/lang/String; G H
: I (Ljava/lang/Object;)V K
8 L java/lang/Throwable N
access$100 c(Lcom/groupbyinc/flux/env/NodeEnvironment;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; P Q
R (shard lock wait count for {} is now [{}] T java/lang/Integer V valueOf (I)Ljava/lang/Integer; X Y
W Z 6com/groupbyinc/flux/common/apache/logging/log4j/Logger \ trace 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ^ _ ] ` 6last shard lock wait decremented, removing lock for {} b '(Ljava/lang/String;Ljava/lang/Object;)V ^ d ] e
java/util/Map g remove &(Ljava/lang/Object;)Ljava/lang/Object; i j h k Removed lock was null m acquire (J)V 6com/groupbyinc/flux/env/ShardLockObtainFailedException q java/lang/InterruptedException s java/util/concurrent/TimeUnit u MILLISECONDS Ljava/util/concurrent/TimeUnit; w x v y
tryAcquire #(JLjava/util/concurrent/TimeUnit;)Z { |
} %obtaining shard lock timed out after (J)Ljava/lang/StringBuilder; > ?
: ? ms ? >(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V ?
r ? java/lang/Thread ?
currentThread ()Ljava/lang/Thread; ? ?
? ? interrupt ?
? ? 4thread interrupted while trying to obtain shard lock ? S(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/Throwable;)V ?
r ? e Ljava/lang/InterruptedException; timeoutInMillis J
access$000 >(Lcom/groupbyinc/flux/env/NodeEnvironment$InternalShardLock;)V x0 java/lang/Class ? desiredAssertionStatus ()Z ? ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses 0
? o '*+? *? *? Y? ? *? "*,? $*? ? '? ? ' ( ) '
? { w x | } &~ * ? > *? ? ,*? /? ? ( ) ? ? ? ? 0 ? ? O*? ? 4YL² 6? -*? "? &? 8Y? :Y? ;=? A*? "? DF? A? J? M?*Y? "`? "+ç M+?,??
F I I L I ? O ( ) ? ?
? :? D? N? ? ? : N O? - ? ) ?*? ? 4YL² 6? -*? "? &? 8Y? :Y? ;=? A*? "? DF? A? J? M?*Y? "d? "*? ? SU*? $*? "? [? a *? "? =*? ? Sc*? $? f *? ? 4*? $? l ? M? 6? ,?
? 8Yn? M?+ç N+?-??
? ? ? ? ? ? ? i ) ? ( ) ? *
?
? :? D? ]? d? v? ?? ?? ?? ? ? : ? cD O? o p ? ? L*? ? z? ~? '? rY*? $? :Y? ;?? A? ??? A? J? ??? N? ?? ?? rY*? $?-? ??? 2 5 t ? 6 ? ? L ( ) L ? ? ? ? ? 2? 5? 6? <? K? ? 2B t ? r ? ? ? / *? /? ? ? ) ? p ? ? 4 ? ?? ? ? 6? ? p ? @ ? ?
© 2015 - 2025 Weber Informatics LLC | Privacy Policy