com.groupbyinc.flux.discovery.zen.ZenDiscovery$JoinThreadControl.class Maven / Gradle / Ivy
???? 4 ? @com/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl java/lang/Object ZenDiscovery.java .com/groupbyinc/flux/discovery/zen/ZenDiscovery JoinThreadControl Bcom/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl$1 0com/groupbyinc/flux/discovery/zen/ZenDiscovery$1 running +Ljava/util/concurrent/atomic/AtomicBoolean; currentJoinThread -Ljava/util/concurrent/atomic/AtomicReference; ALjava/util/concurrent/atomic/AtomicReference; $assertionsDisabled Z this$0 0Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery; 3(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery;)V ()V
)java/util/concurrent/atomic/AtomicBoolean (Z)V
" +java/util/concurrent/atomic/AtomicReference $
% ' this BLcom/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl; joinThreadActive ()Z get ()Ljava/lang/Object; - .
% / java/lang/Thread 1 - ,
3 isAlive 5 ,
2 6
currentThread Ljava/lang/Thread; (Ljava/lang/Thread;)Z equals (Ljava/lang/Object;)Z ; <
=
joinThread stopRunningThreadAndRejoin (Ljava/lang/String;)V B
access$500 D(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery;)Ljava/lang/Object; D E
F holdsLock H <
2 I java/lang/AssertionError K
L set (Ljava/lang/Object;)V N O
% P rejoin R A
S reason Ljava/lang/String; startNewThreadIfNotRunning + ,
X access$2700 ](Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery;)Lcom/groupbyinc/flux/threadpool/ThreadPool; Z [
\ )com/groupbyinc/flux/threadpool/ThreadPool ^ generic (()Ljava/util/concurrent/ExecutorService; ` a
_ b E(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl;)V d
e $java/util/concurrent/ExecutorService g execute (Ljava/lang/Runnable;)V i j h k markThreadAsDoneAndStartNew (Ljava/lang/Thread;)V markThreadAsDone o :
p W
r
compareAndSet '(Ljava/lang/Object;Ljava/lang/Object;)Z t u
% v stop N
y getAndSet &(Ljava/lang/Object;)Ljava/lang/Object; { |
% } interrupt
2 ? start e(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery;Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery$1;)V
? x0 x1 2Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery$1; access$2300 q(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl;)Ljava/util/concurrent/atomic/AtomicReference; access$2400 o(Lcom/groupbyinc/flux/discovery/zen/ZenDiscovery$JoinThreadControl;)Ljava/util/concurrent/atomic/AtomicBoolean; java/lang/Class ? desiredAssertionStatus ? ,
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses
?
? S !*+? *? *? Y? !? #*? %Y? &? (? ? ! ) * ? ? ? ? + , ? n &*? (? 0? 2L*? #? 4? +? +? 7? ? ? ? &