com.groupbyinc.flux.discovery.zen.MasterFaultDetection$MasterPinger$1.class Maven / Gradle / Ivy
???? 4 Ecom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger$1 ?Ljava/lang/Object;Lcom/groupbyinc/flux/transport/TransportResponseHandler; java/lang/Object 6com/groupbyinc/flux/transport/TransportResponseHandler MasterFaultDetection.java Ccom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger run ()V Hcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingRequest 6com/groupbyinc/flux/discovery/zen/MasterFaultDetection MasterPingRequest MasterPinger Qcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingResponseResponse MasterPingResponseResponse /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names bcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$ThisIsNotTheMasterYouAreLookingForException +ThisIsNotTheMasterYouAreLookingForException Xcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$NodeDoesNotExistOnMasterException !NodeDoesNotExistOnMasterException 8com/groupbyinc/flux/discovery/zen/MasterFaultDetection$1 " %java/lang/invoke/MethodHandles$Lookup $ java/lang/invoke/MethodHandles & Lookup val$masterToPing 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; val$request JLcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingRequest; val$options 7Lcom/groupbyinc/flux/transport/TransportRequestOptions; this$1 ELcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger; ?(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingRequest;Lcom/groupbyinc/flux/transport/TransportRequestOptions;)V / 0 3 ) * 5 + , 7 - . 9 1
; this GLcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger$1; newInstance U()Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingResponseResponse; =(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$1;)V 1 A
B handleResponse V(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingResponseResponse;)V
access$600 H(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger;)Z F G
H this$0 8Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection; J K
L
access$702 <(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;I)I N O
P
masterNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; R S
T .com/groupbyinc/flux/cluster/node/DiscoveryNode V equals (Ljava/lang/Object;)Z X Y
W Z
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; \ ] ^ pingInterval +Lcom/groupbyinc/flux/common/unit/TimeValue; ` a b same d schedule y(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture; f g
h response SLcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPingResponseResponse; handleException 5(Lcom/groupbyinc/flux/transport/TransportException;)V
access$800 L(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;)Ljava/lang/Object; n o
p 7com/groupbyinc/flux/transport/ConnectTransportException r 0com/groupbyinc/flux/transport/TransportException t getCause ()Ljava/lang/Throwable; v w
u x handleTransportDisconnect 3(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V z {
| .com/groupbyinc/flux/cluster/NotMasterException ~
access$900 r(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ?
? 7[master] pinging a master {} that is no longer a master ?
access$200 j(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? debug '(Ljava/lang/String;Ljava/lang/Object;)V ? ? ? ? no longer master ? access$1000 ?(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/Throwable;Ljava/lang/String;)V ? ?
? access$1100 ? ?
? 3[master] pinging a master {} that is not the master ?
not master ? access$1200 ? ?
? U[master] pinging a master {} but we do not exists on it, act as if its master failure ? .do not exists on master, act as master failure ?
access$704 ;(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection;)I ? ?
? access$1300 ? ?
? "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; ? lambda$handleException$0 (I)Ljava/lang/Object; ? ?
? ? get ?(Lcom/groupbyinc/flux/discovery/zen/MasterFaultDetection$MasterPinger$1;I)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; ? ? ? trace W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V ? ? ? ? pingRetryCount I ? ? ? access$1400 ? ?
? N[master] failed to ping [{}], tried [{}] times, each with maximum [{}] timeout ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? pingRetryTimeout ? a ? K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? java/lang/StringBuilder ?
? ; failed to ping, tried [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? ] times, each with maximum [ ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] timeout ? toString ()Ljava/lang/String; ? ?
? ? transportService 0Lcom/groupbyinc/flux/transport/TransportService; ? ? ? %internal:discovery/zen/fd/master_ping ? .com/groupbyinc/flux/transport/TransportService ? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportRequestOptions;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? ? java/lang/Throwable ?
retryCount exp 2Lcom/groupbyinc/flux/transport/TransportException; executor 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V D E
3()Lcom/groupbyinc/flux/transport/TransportResponse; ? @
Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage 4[master] failed to ping [{}], retry [{}] out of [{}] ((Ljava/lang/String;[Ljava/lang/Object;)V 1
Code LocalVariableTable LineNumberTable
StackMapTable BootstrapMethods Signature
SourceFile EnclosingMethod InnerClasses ) * + , - . / 0 1 2 N *+? 4*,? 6*-? 8*? :*?