
com.groupbyinc.flux.cluster.action.shard.ShardStateAction$ShardStartedClusterStateHandler.class Maven / Gradle / Ivy
???? 3 ? Ycom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateHandler ?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener; 4com/groupbyinc/flux/cluster/ClusterStateTaskExecutor 4com/groupbyinc/flux/cluster/ClusterStateTaskListener ShardStateAction.java 9com/groupbyinc/flux/cluster/action/shard/ShardStateAction ShardStartedClusterStateHandler @com/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult BatchResult Kcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry ShardRoutingEntry Gcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result @com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation Result Hcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder Builder 0com/groupbyinc/flux/cluster/ClusterState$Builder (com/groupbyinc/flux/cluster/ClusterState this$0 ;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction; >(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)V " ()V $
% this [Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateHandler; execute ~(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult; java/lang/Exception + java/lang/Throwable - builder L()Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder; / 0
1 java/util/ArrayList 3 java/util/List 5 size ()I 7 8 6 9 (I)V ;
4 < iterator ()Ljava/util/Iterator; > ? 6 @ java/util/Iterator B hasNext ()Z D E C F next ()Ljava/lang/Object; H I C J shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; L M N add (Ljava/lang/Object;)Z P Q 6 R
access$300 (Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService; T U
V @com/groupbyinc/flux/cluster/routing/allocation/AllocationService X applyStartedShards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result; Z [
Y \ changed ^ E
_ ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; / a
b
routingResult }(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; d e
f build ,()Lcom/groupbyinc/flux/cluster/ClusterState; h i
j successes `(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder; l m
n failures u(Ljava/lang/Iterable;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder; p q
r n(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult; h t
u task MLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry; result ILcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result; t Ljava/lang/Throwable; currentState *Lcom/groupbyinc/flux/cluster/ClusterState; tasks _Ljava/util/List; Ljava/util/List; ?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder; JLcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder; shardRoutingsToBeApplied DLjava/util/List; maybeUpdatedState onFailure *(Ljava/lang/String;Ljava/lang/Throwable;)V
access$800 j(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? ?
? unexpected failure during [{}] ? java/lang/Object ? +com/groupbyinc/flux/common/logging/ESLogger ? error =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? ? ? source Ljava/lang/String; onNoLongerMaster (Ljava/lang/String;)V .com/groupbyinc/flux/cluster/NotMasterException ? java/lang/StringBuilder ?
? % no longer master. source: [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ()Ljava/lang/String; ? ?
? ? ?
? ? ? ?
? clusterStateProcessed i(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)V oldState newState Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult;
SourceFile InnerClasses ! ? >
*+? #*? &? ?
' (
? ? ) * ? ? ?? 2N? 4Y,? : ? =:,? A :? G ? ? K ? :? O? S W???+:*? #? W+? ]:? `? +? c? g? k:-,? oW?
:-,? sW-? v? D p s . ? \ 1
w x T y z u { | ? ' ( ? } ~ ? ? ? / ? q ? ? D @ ? ~ ? ? ? ? / ? q ? ? ? > ? ? ? 1 ? > ? A ? D ? H ? T ? \ ? j ? p ? s ? u ? } ? ? 7 ? 6 C? %? ( ? 6 6 . ? , ? ? ? ? ? Z *? #? ??,? ?Y+S? ? ? ? ' ( ? ? { | ?
? ? ? ? ? ] %*+? ?Y? ?Y? ??? ?+? ??? ?? ?? ?? ?? ? % ' ( % ? ? ?
? $ ? ? ? ? I ? ? * ' ( ? ? ? ~ ? ~ ? ? ? ? ? 2
© 2015 - 2025 Weber Informatics LLC | Privacy Policy