com.groupbyinc.flux.discovery.zen.MembershipAction.class Maven / Gradle / Ivy
???? 4Y 2com/groupbyinc/flux/discovery/zen/MembershipAction 6com/groupbyinc/flux/common/component/AbstractComponent MembershipAction.java 4com/groupbyinc/flux/discovery/zen/MembershipAction$1 Mcom/groupbyinc/flux/discovery/zen/MembershipAction$LeaveRequestRequestHandler LeaveRequestRequestHandler ?com/groupbyinc/flux/discovery/zen/MembershipAction$LeaveRequest LeaveRequest Tcom/groupbyinc/flux/discovery/zen/MembershipAction$ValidateJoinRequestRequestHandler !ValidateJoinRequestRequestHandler Fcom/groupbyinc/flux/discovery/zen/MembershipAction$ValidateJoinRequest ValidateJoinRequest Lcom/groupbyinc/flux/discovery/zen/MembershipAction$JoinRequestRequestHandler JoinRequestRequestHandler >com/groupbyinc/flux/discovery/zen/MembershipAction$JoinRequest JoinRequest Ecom/groupbyinc/flux/discovery/zen/MembershipAction$MembershipListener MembershipListener ?com/groupbyinc/flux/discovery/zen/MembershipAction$JoinCallback JoinCallback /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool " Names %java/lang/invoke/MethodHandles$Lookup % java/lang/invoke/MethodHandles ' Lookup DISCOVERY_JOIN_ACTION_NAME Ljava/lang/String; internal:discovery/zen/join , #DISCOVERY_JOIN_VALIDATE_ACTION_NAME $internal:discovery/zen/join/validate / DISCOVERY_LEAVE_ACTION_NAME internal:discovery/zen/leave 2 transportService 0Lcom/groupbyinc/flux/transport/TransportService; listener GLcom/groupbyinc/flux/discovery/zen/MembershipAction$MembershipListener; $assertionsDisabled Z ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/discovery/zen/MembershipAction$MembershipListener;Ljava/util/Collection;)V 1(Lcom/groupbyinc/flux/common/settings/Settings;)V : <
= 4 5 ? 6 7 A "java/lang/invoke/LambdaMetafactory C 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; E F
D G H ()Ljava/lang/Object; J ()V : L
M N B()Lcom/groupbyinc/flux/discovery/zen/MembershipAction$JoinRequest; P get ()Ljava/util/function/Supplier; R S T generic V m(Lcom/groupbyinc/flux/discovery/zen/MembershipAction;Lcom/groupbyinc/flux/discovery/zen/MembershipAction$1;)V : X
Y .com/groupbyinc/flux/transport/TransportService [ registerRequestHandler {(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V ] ^
\ _ lambda$new$0 J()Lcom/groupbyinc/flux/discovery/zen/MembershipAction$ValidateJoinRequest; a b
c d b T java/lang/Object h getClass ()Ljava/lang/Class; j k
i l getLocalNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; n o
\ p q o O(Lcom/groupbyinc/flux/transport/TransportService;)Ljava/util/function/Supplier; R t u 6(Ljava/util/function/Supplier;Ljava/util/Collection;)V : w
x
M z C()Lcom/groupbyinc/flux/discovery/zen/MembershipAction$LeaveRequest; | T
Y this 4Lcom/groupbyinc/flux/discovery/zen/MembershipAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; joinValidators ?Ljava/util/Collection;>; Ljava/util/Collection; sendLeaveRequest c(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V i(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/discovery/zen/MembershipAction$1;)V : ?
? ;com/groupbyinc/flux/transport/EmptyTransportResponseHandler ?
INSTANCE_SAME =Lcom/groupbyinc/flux/transport/EmptyTransportResponseHandler; ? ? ? ? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
\ ?
masterNode 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; node sendLeaveRequestBlocking ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/common/unit/TimeValue;)V
submitRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)Lcom/groupbyinc/flux/transport/TransportFuture; ? ?
\ ? )com/groupbyinc/flux/common/unit/TimeValue ? millis ()J ? ?
? ? java/util/concurrent/TimeUnit ? MILLISECONDS Ljava/util/concurrent/TimeUnit; ? ? ? ? -com/groupbyinc/flux/transport/TransportFuture ? txGet 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ? ? ? ? timeout +Lcom/groupbyinc/flux/common/unit/TimeValue; sendJoinRequestBlocking
? sendValidateJoinRequestBlocking ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/common/unit/TimeValue;)V -(Lcom/groupbyinc/flux/cluster/ClusterState;)V : ?
? state *Lcom/groupbyinc/flux/cluster/ClusterState; ensureIndexCompatibility O(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V com/groupbyinc/flux/Version ? minimumIndexCompatibilityVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? -com/groupbyinc/flux/cluster/metadata/MetaData ? iterator ()Ljava/util/Iterator; ? ?
? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ? J ? ? 2com/groupbyinc/flux/cluster/metadata/IndexMetaData ? getCreationVersion ? ?
? ? after (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? java/lang/IllegalStateException ? java/lang/StringBuilder ?
? M index ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? getIndex #()Lcom/groupbyinc/flux/index/Index; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? version not supported: ? the node version is: ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V : ?
? ? before ? ?
? ? & minimum compatible index version is: ? idxMetaData 4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData; nodeVersion Lcom/groupbyinc/flux/Version; metaData /Lcom/groupbyinc/flux/cluster/metadata/MetaData; supportedIndexVersion ensureNodesCompatibility Q(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)V /com/groupbyinc/flux/cluster/node/DiscoveryNodes getMinNodeVersion ?
getMaxNodeVersion ?
Z(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/Version;)V
joiningNodeVersion currentNodes 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; minNodeVersion maxNodeVersion 8 9
onOrBefore ?
? java/lang/AssertionError > (Ljava/lang/Object;)V :
! isCompatible# ?
?$ node version [& =] is not supported. The cluster contains nodes with version [( ], which is incompatible.* <] is not supported.The cluster contains nodes with version [, minClusterNodeVersion maxClusterNodeVersion ensureMajorVersionBarrier =(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/Version;)V major B23 ?4 D] is not supported. All nodes in the cluster are of a higher major [6 (I)Ljava/lang/StringBuilder; ?8
?9 ].; clusterMajor
M
access$400 n(Lcom/groupbyinc/flux/discovery/zen/MembershipAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;AB C x0
access$500 }(Lcom/groupbyinc/flux/discovery/zen/MembershipAction;)Lcom/groupbyinc/flux/discovery/zen/MembershipAction$MembershipListener; java/lang/ClassI desiredAssertionStatusK ?
JL
ConstantValue Code LocalVariableTable LocalVariableTypeTable LineNumberTable Signature;(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/discovery/zen/MembershipAction$MembershipListener;Ljava/util/Collection;>;)V
StackMapTable BootstrapMethods
SourceFile InnerClasses ! * + N - . + N 0 1 + N 3 4 5 6 7 8 9
: ; O ? ]*+? >*,? @*-? B,-? U W? Y*? Z? `,0? g W? Y,Y? mW? v ? y? `,3? ~ W? Y*? ? `? P 4 ] ? ? ] ? ? ] 4 5 ] 6 7 ] ? ? Q ] ? ? R G H
I L % N F Q \ SS T ? ? O Y *? @,3? Y+? ?? ?? ?? P ? ? ? ? ? ? R
V X ? ? O t $*? @+3? Y,? ?? ?? ?-? ?? ?? ? W? P * $ ? ? $ ? ? $ ? ? $ ? ? R [ \ # ] ? ? O t $*? @+-? Y,? ?? ?? ?-? ?? ?? ? W? P * $ ? ? $ ? ? $ ? ? $ ? ? R ` a # b ? ? O s #*? @+0? Y,? ?? ?? ?-? ?? ?? ? W? P * # ? ? # ? ? # ? ? # ? ? R h i " j ? ? O - ?*? ?M+? ?N-? ? ? ?-? ? ? ?:? ?*? ۙ 8? ?Y? ?Y? ?? ?? ? ?? ?? ?? ?*? ?? ?? ??? ?,? ?? 8? ?Y? ?Y? ?? ?? ? ?? ?? ??? ?,? ?? ?? ????j? P * ? ? ? ? ? ? R *
? ? ? * ? I ? _ ? k ? ? ? ? ? ? ?U ?
? ?? T ?? @? O e +?M+?N*,-?? P *
R ? ?
? ? O ? ??? ++,?? #?Y? ?Y? ?+? ?? ?,? ?? ??"?*,?%? /? ?Y? ?Y? ?'? ?*? ?)? ?,? ?+? ? ?? ??*+?%? /? ?Y? ?Y? ?'? ?*? ?-? ?+? ?+? ? ?? ??? P ? ?. ?/ R ? . ? 6 ? b ? j ? ? ?U .33 01 O ? :+?5=*?5? /? ?Y? ?Y? ?'? ?*? ?7? ??: