com.groupbyinc.flux.cluster.action.shard.ShardStateAction.class Maven / Gradle / Ivy
???? 4D 9com/groupbyinc/flux/cluster/action/shard/ShardStateAction 6com/groupbyinc/flux/common/component/AbstractComponent ShardStateAction.java Wcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$NoLongerPrimaryShardException NoLongerPrimaryShardException Bcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener Listener Dcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry
ShardEntry ^com/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor $ShardStartedClusterStateTaskExecutor Vcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedTransportHandler ShardStartedTransportHandler ]com/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateTaskExecutor #ShardFailedClusterStateTaskExecutor Ucom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedTransportHandler ShardFailedTransportHandler ;com/groupbyinc/flux/cluster/action/shard/ShardStateAction$2 ;com/groupbyinc/flux/cluster/action/shard/ShardStateAction$1 /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool ! Names Kcom/groupbyinc/flux/discovery/Discovery$FailedToCommitClusterStateException $ 'com/groupbyinc/flux/discovery/Discovery & #FailedToCommitClusterStateException 9com/groupbyinc/flux/cluster/ClusterStateObserver$Listener ) 0com/groupbyinc/flux/cluster/ClusterStateObserver + %java/lang/invoke/MethodHandles$Lookup - java/lang/invoke/MethodHandles / Lookup SHARD_STARTED_ACTION_NAME Ljava/lang/String; internal:cluster/shard/started 4 SHARD_FAILED_ACTION_NAME internal:cluster/shard/failure 7 transportService 0Lcom/groupbyinc/flux/transport/TransportService; clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; MASTER_CHANNEL_EXCEPTIONS [Ljava/lang/Class; $assertionsDisabled Z 6(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V *Lcom/groupbyinc/flux/common/inject/Inject; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V C F
G 9 : I ; < K = > M "java/lang/invoke/LambdaMetafactory O metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; Q R
P S T ()Ljava/lang/Object; V ()V C X
Y Z H()Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry; \ get ()Ljava/util/function/Supplier; ^ _ ` same b logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; d e f }(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V C h
i ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V C k
l .com/groupbyinc/flux/transport/TransportService n registerRequestHandler {(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V p q
o r ?(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V C t
u ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateTaskExecutor;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V C w
x this ;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; allocationService BLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService; routingService 4Lcom/groupbyinc/flux/cluster/routing/RoutingService; sendShardAction ?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; ? ?
" ? ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V C ?
, ? (com/groupbyinc/flux/cluster/ClusterState ? nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ? ?
? ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ?
getMasterNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? 5com/groupbyinc/flux/cluster/MasterNodeChangePredicate ? build J(Lcom/groupbyinc/flux/cluster/ClusterState;)Ljava/util/function/Predicate; ? ?
? ? 7{} no master known for action [{}] for shard entry [{}] ? shardId )Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? warn K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? waitForNewMasterAndRetry ?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateObserver;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Ljava/util/function/Predicate;)V ? ?
? .com/groupbyinc/flux/cluster/node/DiscoveryNode ? java/util/function/Predicate ? ,{} sending [{}] to [{}] for shard entry [{}] ? getId ()Ljava/lang/String; ? ?
? ? debug ](Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ?l(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateObserver;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Ljava/util/function/Predicate;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V C ?
? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
o ?
actionName currentState *Lcom/groupbyinc/flux/cluster/ClusterState;
shardEntry FLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry; listener DLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener; observer 2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;
masterNode 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; changePredicate JLjava/util/function/Predicate; Ljava/util/function/Predicate; isMasterChannelException 5(Lcom/groupbyinc/flux/transport/TransportException;)Z ? @ ? $com/groupbyinc/flux/ExceptionsHelper ? unwrap >(Ljava/lang/Throwable;[Ljava/lang/Class;)Ljava/lang/Throwable; ? ?
? ? exp 2Lcom/groupbyinc/flux/transport/TransportException; remoteShardFailed ?(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;JLjava/lang/String;Ljava/lang/Exception;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V %Lcom/groupbyinc/flux/common/Nullable; A B ? java/lang/AssertionError ? (primary term should be strictly positive ? (Ljava/lang/Object;)V C ?
? ? 2com/groupbyinc/flux/cluster/service/ClusterService ? state ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
? ? shardFailed ?(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;JLjava/lang/String;Ljava/lang/Exception;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Lcom/groupbyinc/flux/cluster/ClusterState;)V ? ?
? allocationId primaryTerm J message failure Ljava/lang/Exception; localShardFailed ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/Exception;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/Exception;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Lcom/groupbyinc/flux/cluster/ClusterState;)V ? ?
? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; 0com/groupbyinc/flux/cluster/routing/ShardRouting ? +()Lcom/groupbyinc/flux/index/shard/ShardId; ?
4()Lcom/groupbyinc/flux/cluster/routing/AllocationId; ?
0com/groupbyinc/flux/cluster/routing/AllocationId
? f(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;JLjava/lang/String;Ljava/lang/Exception;)V C
? ?
?(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V C
waitForNextChange \(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;)V
, shardStarted ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Lcom/groupbyinc/flux/cluster/ClusterState;)V
access$000 ? ?
x0
access$100 u(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
access$200
access$300
access$400(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;)V x1 x2 x3 x4
access$500
access$600 q(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/service/ClusterService; java/lang/Class- desiredAssertionStatus ()Z/0
.1 .com/groupbyinc/flux/cluster/NotMasterException3 7com/groupbyinc/flux/transport/ConnectTransportException5
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations LocalVariableTypeTable
StackMapTable "RuntimeVisibleParameterAnnotations Signature(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateObserver;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener;Ljava/util/function/Predicate;)V BootstrapMethods
SourceFile InnerClasses ! 2 3 7 5 6 3 7 8 9 : ; <