com.groupbyinc.flux.action.search.CountedCollector.class Maven / Gradle / Ivy
???? 4 i 2com/groupbyinc/flux/action/search/CountedCollector DLjava/lang/Object; java/lang/Object CountedCollector.java resultConsumer Ljava/util/function/Consumer; "Ljava/util/function/Consumer; counter 6Lcom/groupbyinc/flux/common/util/concurrent/CountDown; onFinish Ljava/lang/Runnable; context 6Lcom/groupbyinc/flux/action/search/SearchPhaseContext; $assertionsDisabled Z k(Ljava/util/function/Consumer;ILjava/lang/Runnable;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)V ()V
4com/groupbyinc/flux/common/util/concurrent/CountDown (I)V
" this 9Lcom/groupbyinc/flux/action/search/CountedCollector; 4Lcom/groupbyinc/flux/action/search/CountedCollector; expectedOps I countDown *
isCountedDown ()Z , -
. java/lang/AssertionError 0 'more operations executed than specified 2 (Ljava/lang/Object;)V 4
1 5 ) -
7 java/lang/Runnable 9 run ; : < onResult 1(Lcom/groupbyinc/flux/search/SearchPhaseResult;)V java/util/function/Consumer @ accept B 4 A C )
E java/lang/Throwable G result TR; .Lcom/groupbyinc/flux/search/SearchPhaseResult; onFailure G(ILcom/groupbyinc/flux/search/SearchShardTarget;Ljava/lang/Exception;)V %Lcom/groupbyinc/flux/common/Nullable; 4com/groupbyinc/flux/action/search/SearchPhaseContext O onShardFailure Q M P R
shardIndex shardTarget .Lcom/groupbyinc/flux/search/SearchShardTarget; e Ljava/lang/Exception; java/lang/Class Z desiredAssertionStatus \ -
[ ] Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable p(Ljava/util/function/Consumer;ILjava/lang/Runnable;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)V
StackMapTable (TR;)V "RuntimeVisibleParameterAnnotations
SourceFile 0 _
` ? !*? *+? *? Y? ? *-? !*? #? a 4 ! $ &