com.groupbyinc.flux.action.support.ActiveShardsObserver$1.class Maven / Gradle / Ivy
???? 4 \ 9com/groupbyinc/flux/action/support/ActiveShardsObserver$1 java/lang/Object 9com/groupbyinc/flux/cluster/ClusterStateObserver$Listener ActiveShardsObserver.java 7com/groupbyinc/flux/action/support/ActiveShardsObserver waitForActiveShards ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/support/ActiveShardCount;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
0com/groupbyinc/flux/cluster/ClusterStateObserver
Listener val$onResult Ljava/util/function/Consumer;
val$indexName Ljava/lang/String;
val$onFailure this$0 9Lcom/groupbyinc/flux/action/support/ActiveShardsObserver; ?(Lcom/groupbyinc/flux/action/support/ActiveShardsObserver;Ljava/util/function/Consumer;Ljava/lang/String;Ljava/util/function/Consumer;)V ()V !
" this ;Lcom/groupbyinc/flux/action/support/ActiveShardsObserver$1; onNewClusterState -(Lcom/groupbyinc/flux/cluster/ClusterState;)V java/lang/Boolean ( valueOf (Z)Ljava/lang/Boolean; * +
) , java/util/function/Consumer . accept (Ljava/lang/Object;)V 0 1 / 2 state *Lcom/groupbyinc/flux/cluster/ClusterState; onClusterServiceClose
access$000 s(Lcom/groupbyinc/flux/action/support/ActiveShardsObserver;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; 7 8
9 J[{}] cluster service closed while waiting for enough shards to be started. ; 6com/groupbyinc/flux/common/apache/logging/log4j/Logger = debug '(Ljava/lang/String;Ljava/lang/Object;)V ? @ > A ,com/groupbyinc/flux/node/NodeClosedException C
access$100 o(Lcom/groupbyinc/flux/action/support/ActiveShardsObserver;)Lcom/groupbyinc/flux/cluster/service/ClusterService; E F
G 2com/groupbyinc/flux/cluster/service/ClusterService I localNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; K L
J M 3(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V O
D P onTimeout .(Lcom/groupbyinc/flux/common/unit/TimeValue;)V timeout +Lcom/groupbyinc/flux/common/unit/TimeValue; Code LocalVariableTable LineNumberTable
SourceFile EnclosingMethod InnerClasses V N *+? *,? *-? *? *? #? W $ % X O &