com.groupbyinc.flux.transport.RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler.class Maven / Gradle / Ivy
???? 4w 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 5 6 W .com/groupbyinc/flux/transport/TransportService Y
getThreadPool -()Lcom/groupbyinc/flux/threadpool/ThreadPool; [ \
Z ] getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; _ `
a 8com/groupbyinc/flux/common/util/concurrent/ThreadContext c isSystemContext ()Z e f
d g java/lang/AssertionError i context is a system context k (Ljava/lang/Object;)V 9 m
j n this$0 7Lcom/groupbyinc/flux/transport/RemoteClusterConnection; p q r
access$700 p(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce; t u
v 5com/groupbyinc/flux/common/apache/lucene/util/SetOnce x get ()Ljava/lang/Object; z {
y | getClusterName +()Lcom/groupbyinc/flux/cluster/ClusterName; ~
O ? 'com/groupbyinc/flux/cluster/ClusterName ? value ()Ljava/lang/String; ? ?
? ?
j > set ? m
y ? "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; ? ?
? ? ? = 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 ? m ? ? onFailure (Ljava/lang/Exception;)V ? ? ? ?
access$800 q(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ?
? { lambda$handleResponse$2 ? {
? ? ?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; z ? ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? warn W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;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$900 ? ?
? lambda$handleException$3 ? {
? ? ? 5com/groupbyinc/flux/common/apache/lucene/util/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
? Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage ? .fetching nodes from external cluster {} failed ? access$1000 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;
getClass ()Ljava/lang/Class;
()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# f"$ next&