
com.groupbyinc.flux.cluster.action.shard.ShardStateAction.class Maven / Gradle / Ivy
???? 4| 9com/groupbyinc/flux/cluster/action/shard/ShardStateAction 6com/groupbyinc/flux/common/component/AbstractComponent ShardStateAction.java Wcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$NoLongerPrimaryShardException NoLongerPrimaryShardException Kcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$CompositeListener CompositeListener Bcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$Listener Listener Kcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$StartedShardEntry StartedShardEntry ^com/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor $ShardStartedClusterStateTaskExecutor Vcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedTransportHandler ShardStartedTransportHandler Jcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$FailedShardEntry FailedShardEntry ]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$3 ! ;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 5com/groupbyinc/flux/common/io/stream/Writeable$Reader 1 .com/groupbyinc/flux/common/io/stream/Writeable 3 Reader 9com/groupbyinc/flux/cluster/ClusterStateObserver$Listener 6 0com/groupbyinc/flux/cluster/ClusterStateObserver 8 %java/lang/invoke/MethodHandles$Lookup : java/lang/invoke/MethodHandles < Lookup SHARD_STARTED_ACTION_NAME Ljava/lang/String; internal:cluster/shard/started A SHARD_FAILED_ACTION_NAME internal:cluster/shard/failure D transportService 0Lcom/groupbyinc/flux/transport/TransportService; clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; remoteFailedShardsCache $Ljava/util/concurrent/ConcurrentMap; ?Ljava/util/concurrent/ConcurrentMap; 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 S V
W @com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections Y newConcurrentMap &()Ljava/util/concurrent/ConcurrentMap; [ \
Z ] L M _ F G a H I c J K e same g "java/lang/invoke/LambdaMetafactory i 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; k l
j m n F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object; p 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V S r
s t ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$StartedShardEntry; v read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader; x y z logger !Lorg/apache/logging/log4j/Logger; | } ~ f(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lorg/apache/logging/log4j/Logger;)V S ?
? ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor;Lorg/apache/logging/log4j/Logger;)V S ?
? .com/groupbyinc/flux/transport/TransportService ? registerRequestHandler ?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V ? ?
? ?
s ? ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$FailedShardEntry; ? z ?(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lorg/apache/logging/log4j/Logger;)V S ?
? ?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateTaskExecutor;Lorg/apache/logging/log4j/Logger;)V S ?
? 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/transport/TransportRequest;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;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V S ?
9 ? (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; ? ?
? ? 4no master known for action [{}] for shard entry [{}] ? org/apache/logging/log4j/Logger ? warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? waitForNewMasterAndRetry ?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateObserver;Lcom/groupbyinc/flux/transport/TransportRequest;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 K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ?V(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/transport/TransportRequest;Ljava/util/function/Predicate;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V S ?
&