com.groupbyinc.flux.action.support.master.TransportMasterNodeAction$AsyncSingleAction.class Maven / Gradle / Ivy
???? 4% Ucom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction java/lang/Object TransportMasterNodeAction.java Ccom/groupbyinc/flux/action/support/master/TransportMasterNodeAction AsyncSingleAction Wcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction$4 Wcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction$3 Wcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction$2
Wcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction$1 9com/groupbyinc/flux/cluster/ClusterStateObserver$Listener 0com/groupbyinc/flux/cluster/ClusterStateObserver Listener %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup listener +Lcom/groupbyinc/flux/action/ActionListener; 7Lcom/groupbyinc/flux/action/ActionListener; request =Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest; TRequest; observer 2Lcom/groupbyinc/flux/cluster/ClusterStateObserver; task Lcom/groupbyinc/flux/tasks/Task; this$0 ELcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction; ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/action/ActionListener;)V % & ) ()V ' +
, # $ . 0 clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; 2 3 4 2com/groupbyinc/flux/cluster/service/ClusterService 6 localNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; 8 9
7 : .com/groupbyinc/flux/cluster/node/DiscoveryNode < getId ()Ljava/lang/String; > ?
= @ com/groupbyinc/flux/tasks/Task B ()J > D
C E ;com/groupbyinc/flux/action/support/master/MasterNodeRequest G
setParentTask (Ljava/lang/String;J)V I J
H K )com/groupbyinc/flux/action/ActionListener M O this lLcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction.AsyncSingleAction; WLcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction; start state ,()Lcom/groupbyinc/flux/cluster/ClusterState; U V
7 W masterNodeTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue; Y Z
H [
access$000 (Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ] ^
_
access$100 r(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;)Lcom/groupbyinc/flux/threadpool/ThreadPool; a b
c )com/groupbyinc/flux/threadpool/ThreadPool e getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; g h
f i ?(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 ' k
l ! " n doStart -(Lcom/groupbyinc/flux/cluster/ClusterState;)V p q
r *Lcom/groupbyinc/flux/cluster/ClusterState; 5com/groupbyinc/flux/cluster/MasterNodeChangePredicate u build J(Lcom/groupbyinc/flux/cluster/ClusterState;)Ljava/util/function/Predicate; w x
v y (com/groupbyinc/flux/cluster/ClusterState { nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; } ~
| /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? isLocalNodeElectedMaster ()Z ? ?
? ? localExecute @(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;)Z ? ?
? java/util/function/Predicate ?
checkBlock ?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
? 7com/groupbyinc/flux/cluster/block/ClusterBlockException ? retryable ? ?
? ? onFailure (Ljava/lang/Exception;)V ? ? N ?
access$200 ? ^
? .can't execute due to a cluster block, retrying ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? trace *(Ljava/lang/String;Ljava/lang/Throwable;)V ? ? ? ? "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ? (Ljava/lang/Object;)Z ? lambda$doStart$0 -(Lcom/groupbyinc/flux/cluster/ClusterState;)Z ? ?
? ? ? test w(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;)Ljava/util/function/Predicate; ? ? ? retry 6(Ljava/lang/Throwable;Ljava/util/function/Predicate;)V ? ?
? x(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;Ljava/util/function/Predicate;)V ' ?
?
access$900 ? b
? executor Ljava/lang/String; ? ? ? :(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService; ? ?
f ? ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V ' ?
? $java/util/concurrent/ExecutorService ? execute (Ljava/lang/Runnable;)V ? ? ? ?
getMasterNode ? 9
? ? access$1000 ? ^
? (no known master node, scheduling a retry ? debug (Ljava/lang/String;)V ? ? ? ? transportService 0Lcom/groupbyinc/flux/transport/TransportService; ? ? ? access$1100 Y(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;)Ljava/lang/String; ? ?
? ()Ljava/lang/Object; ? newResponse -()Lcom/groupbyinc/flux/action/ActionResponse; ? ?
? ? ? get d(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction;)Ljava/util/function/Supplier; ? ? ? ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/function/Supplier;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Ljava/util/function/Predicate;)V ' ?
? .com/groupbyinc/flux/transport/TransportService ? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? ? delegate blockException 9Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; clusterState masterChangePredicate JLjava/util/function/Predicate; Ljava/util/function/Predicate; 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; o(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;Ljava/lang/Throwable;)V '
waitForNextChange \(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;)V
failure Ljava/lang/Throwable; statePredicate newState newException
access$300 ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;)Lcom/groupbyinc/flux/action/ActionListener; x0
access$500 ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;Ljava/lang/Throwable;Ljava/util/function/Predicate;)V x1 x2
access$700 y(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;)Lcom/groupbyinc/flux/tasks/Task;
access$800 ?(Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeAction$AsyncSingleAction;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable c(Lcom/groupbyinc/flux/tasks/Task;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)V b(Ljava/lang/Throwable;Ljava/util/function/Predicate;)V BootstrapMethods
SourceFile InnerClasses B ! " # $ % &