com.groupbyinc.flux.transport.RemoteClusterAwareClient.class Maven / Gradle / Ivy
???? 4 ? 6com/groupbyinc/flux/transport/RemoteClusterAwareClient 1com/groupbyinc/flux/client/support/AbstractClient RemoteClusterAwareClient.java 2com/groupbyinc/flux/transport/Transport$Connection 'com/groupbyinc/flux/transport/Transport
Connection %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup service 0Lcom/groupbyinc/flux/transport/TransportService; clusterAlias Ljava/lang/String; remoteClusterService 4Lcom/groupbyinc/flux/transport/RemoteClusterService; ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;)V \(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V
.com/groupbyinc/flux/transport/TransportService getRemoteClusterService 6()Lcom/groupbyinc/flux/transport/RemoteClusterService; ! "
# % this 8Lcom/groupbyinc/flux/transport/RemoteClusterAwareClient; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; doExecute {(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)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; 1 2
0 3 4 (Ljava/lang/Object;)V 6 lambda$doExecute$0 ?(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;Ljava/lang/Void;)V 8 9
: ; (Ljava/lang/Void;)V = accept ?(Lcom/groupbyinc/flux/transport/RemoteClusterAwareClient;Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/common/CheckedConsumer; ? @ A java/util/Objects C requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; E F
D G )com/groupbyinc/flux/action/ActionListener I onFailure (Ljava/lang/Exception;)V K L J M N L J(Lcom/groupbyinc/flux/action/ActionListener;)Ljava/util/function/Consumer; ? Q R wrap v(Lcom/groupbyinc/flux/common/CheckedConsumer;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/action/ActionListener; T U J V 2com/groupbyinc/flux/transport/RemoteClusterService X ensureConnected @(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V Z [
Y \ action HLcom/groupbyinc/flux/action/Action; #Lcom/groupbyinc/flux/action/Action; request TRequest; *Lcom/groupbyinc/flux/action/ActionRequest; listener 7Lcom/groupbyinc/flux/action/ActionListener; +Lcom/groupbyinc/flux/action/ActionListener; close ()V getRemoteClusterClient 7(Ljava/lang/String;)Lcom/groupbyinc/flux/client/Client; -()Lcom/groupbyinc/flux/threadpool/ThreadPool; + k
l b(Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/lang/String;)Lcom/groupbyinc/flux/client/Client; i n
Y o java/lang/Exception q
getConnection H(Ljava/lang/String;)Lcom/groupbyinc/flux/transport/Transport$Connection; s t
Y u !com/groupbyinc/flux/action/Action w name ()Ljava/lang/String; y z
x { 5com/groupbyinc/flux/transport/TransportRequestOptions } EMPTY 7Lcom/groupbyinc/flux/transport/TransportRequestOptions; ? ~ ? 8com/groupbyinc/flux/action/ActionListenerResponseHandler ? ()Ljava/lang/Object; ? (com/groupbyinc/flux/action/GenericAction ? newResponse -()Lcom/groupbyinc/flux/action/ActionResponse; ? ?
? ? ? ? get B(Lcom/groupbyinc/flux/action/Action;)Ljava/util/function/Supplier; ? ? ? K(Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/function/Supplier;)V ?
? ? sendRequest ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportRequestOptions;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? res Ljava/lang/Void;
connection 4Lcom/groupbyinc/flux/transport/Transport$Connection; Code LocalVariableTable LineNumberTable LocalVariableTypeTable SignatureX;>(Lcom/groupbyinc/flux/action/Action;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
Exceptions BootstrapMethods
SourceFile InnerClasses 0 ? | *+,? *-? *? *-? $? &? ? 4 ' ( ) * + , ? ' ( ) * + - . ? ? #*? &*? *+,-? B -Y? HW? S ? W? ]? ? * # ' ( # ^ ` # a c # d f ? # ^ _ # a b # d e ? 1 6 1 " 7 ? ? g h ? + ? ? ' ( ? = i j ? A
*? &*? m+? p? ?
' (
? A 8 9 ? ?
2*? &*? ? v:*? +? |,? ?? ?Y-+Y? HW? ? ? ?? ?? ? > 2 ' ( 2 ^ ` 2 a c 2 d f 2 ? ?
% ? ? ? 2
3 " 4 . 3 1 5 ? r ? 5 7 <