
com.groupbyinc.flux.transport.RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler.class Maven / Gradle / Ivy
???? 4i ecom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler ?Ljava/lang/Object;Lcom/groupbyinc/flux/transport/TransportResponseHandler; java/lang/Object 6com/groupbyinc/flux/transport/TransportResponseHandler RemoteClusterConnection.java 2com/groupbyinc/flux/transport/Transport$Connection 'com/groupbyinc/flux/transport/Transport
Connection Dcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler 5com/groupbyinc/flux/transport/RemoteClusterConnection ConnectHandler SniffClusterStateResponseHandler Ncom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException 2com/groupbyinc/flux/common/util/CancellableThreads ExecutionCancelledException /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names Bcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable IOInterruptable Dcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectedNodes ! ConnectedNodes %java/lang/invoke/MethodHandles$Lookup $ java/lang/invoke/MethodHandles & Lookup transportService 0Lcom/groupbyinc/flux/transport/TransportService;
connection 4Lcom/groupbyinc/flux/transport/Transport$Connection; listener +Lcom/groupbyinc/flux/action/ActionListener; =Lcom/groupbyinc/flux/action/ActionListener; seedNodes Ljava/util/Iterator; FLjava/util/Iterator; cancellableThreads 4Lcom/groupbyinc/flux/common/util/CancellableThreads; $assertionsDisabled Z this$1 FLcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler; (Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/Iterator;Lcom/groupbyinc/flux/common/util/CancellableThreads;)V 7 8 ; ()V 9 =
> ) * @ + , B - . D 0 1 F 3 4 H this gLcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler; newInstance G()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse; Ccom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse N
O > handleResponse H(Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;)V java/lang/Throwable S java/lang/Exception U this$0 7Lcom/groupbyinc/flux/transport/RemoteClusterConnection; W X Y
access$800 p(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce; [ \
] 5com/groupbyinc/flux/common/apache/lucene/util/SetOnce _ get ()Ljava/lang/Object; a b
` c 5 6 e getClusterName +()Lcom/groupbyinc/flux/cluster/ClusterName; g h
O i 'com/groupbyinc/flux/cluster/ClusterName k value ()Ljava/lang/String; m n
l o java/lang/AssertionError q
r > set (Ljava/lang/Object;)V t u
` v "java/lang/invoke/LambdaMetafactory x 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; z {
y | } = lambda$handleResponse$1 ? R
? ? run ?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;)Lcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable; ? ? ? executeIO G(Lcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable;)V ? ?
? java/io/Closeable ? close ? = ? ?
addSuppressed (Ljava/lang/Throwable;)V ? ?
T ? )com/groupbyinc/flux/action/ActionListener ?
onResponse ? u ? ? onFailure (Ljava/lang/Exception;)V ? ? ? ?
access$900 Z(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lorg/apache/logging/log4j/Logger; ? ?
? ,()Lorg/apache/logging/log4j/message/Message; ? lambda$handleResponse$2 ? ?
? ? ?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler;)Lorg/apache/logging/log4j/util/MessageSupplier; a ? ? org/apache/logging/log4j/Logger ? warn G(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V ? ? ? ? collectRemoteNodes r(Ljava/util/Iterator;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/ActionListener;)V ? ?
?
theConnection Ljava/io/Closeable; ex PLcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException; Ljava/lang/Exception; response ELcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse; handleException 5(Lcom/groupbyinc/flux/transport/TransportException;)V access$1000 ? ?
? lambda$handleException$3 ? ?
? ? ? ,com/groupbyinc/flux/core/internal/io/IOUtils ? closeWhileHandlingException ([Ljava/io/Closeable;)V ? ?
? ? exp 2Lcom/groupbyinc/flux/transport/TransportException; executor
management ? 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V Q R
? 3()Lcom/groupbyinc/flux/transport/TransportResponse; L M
? 5org/apache/logging/log4j/message/ParameterizedMessage ? .fetching nodes from external cluster {} failed ? access$1100 K(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Ljava/lang/String; ? ?
? '(Ljava/lang/String;Ljava/lang/Object;)V 9 ?
? ? java/io/IOException ? java/lang/InterruptedException ? 7com/groupbyinc/flux/transport/ConnectTransportException ? java/lang/IllegalStateException ? getState ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
O ? (com/groupbyinc/flux/cluster/ClusterState ? nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ? ?
? ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? getNodes 7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; ? ?
? ? java/util/Objects ? requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? ()Ljava/util/Iterator; 3com/groupbyinc/flux/common/collect/ImmutableOpenMap valuesIt
iterator K(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;)Ljava/lang/Iterable;
java/lang/Iterable
java/util/Iterator hasNext ()Z next b .com/groupbyinc/flux/cluster/node/DiscoveryNode access$1200 W(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Ljava/util/function/Predicate;
java/util/function/Predicate test (Ljava/lang/Object;)Z!" # access$1300 (Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectedNodes;%&
' size ()I)*
"+ access$1400 :(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)I-.
/ access$1500 ?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;Lcom/groupbyinc/flux/cluster/ClusterName;)Lcom/groupbyinc/flux/transport/ConnectionProfile;12
3 .com/groupbyinc/flux/transport/TransportService5
connectToNode d(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/transport/ConnectionProfile;)V78
69 add 3(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Z;<
"= java/lang/RuntimeException? access$1600A ?
B lambda$handleResponse$0 \(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/message/Message;DE
FG a(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/util/MessageSupplier; aI J debugL ? ?M Ljava/lang/RuntimeException; node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; nodesIter FLjava/lang/Iterable; Ljava/lang/Iterable; failed to connect to node {}V java/lang/ClassY desiredAssertionStatus[
Z\ Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable(Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/Iterator;Lcom/groupbyinc/flux/common/util/CancellableThreads;)V
StackMapTable
Exceptions BootstrapMethods
SourceFile InnerClasses ) * + , - . ^ / 0 1 ^ 2 3 4 5 6 7 8 9 : _ ? &*+? <*? ?*,? A*-? C*? E*? G*? I? ` > &