com.groupbyinc.flux.client.node.NodeClient.class Maven / Gradle / Ivy
???? 4 u *com/groupbyinc/flux/client/node/NodeClient 1com/groupbyinc/flux/client/support/AbstractClient NodeClient.java actions Ljava/util/Map; oLjava/util/Map; localNodeId Ljava/util/function/Supplier; 1Ljava/util/function/Supplier; \(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V
this ,Lcom/groupbyinc/flux/client/node/NodeClient; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool;
initialize /(Ljava/util/Map;Ljava/util/function/Supplier;)V
close ()V doExecute {(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V executeLocally ?(Lcom/groupbyinc/flux/action/GenericAction;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/tasks/Task; !
" 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; transportAction `(Lcom/groupbyinc/flux/action/GenericAction;)Lcom/groupbyinc/flux/action/support/TransportAction; - .
/ 2com/groupbyinc/flux/action/support/TransportAction 1 execute w(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/tasks/Task; 3 4
2 5 ?Lcom/groupbyinc/flux/action/GenericAction; *Lcom/groupbyinc/flux/action/GenericAction; ?(Lcom/groupbyinc/flux/action/GenericAction;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/tasks/TaskListener;)Lcom/groupbyinc/flux/tasks/Task; t(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/tasks/TaskListener;)Lcom/groupbyinc/flux/tasks/Task; 3 :
2 ; 4Lcom/groupbyinc/flux/tasks/TaskListener; (Lcom/groupbyinc/flux/tasks/TaskListener; getLocalNodeId ()Ljava/lang/String; java/util/function/Supplier A get ()Ljava/lang/Object; C D B E java/lang/String G java/lang/IllegalStateException I #NodeClient has not been initialized K (Ljava/lang/String;)V M
J N
java/util/Map P &(Ljava/lang/Object;)Ljava/lang/Object; C R Q S java/lang/StringBuilder U
V W failed to find action [ Y append -(Ljava/lang/String;)Ljava/lang/StringBuilder; [ \
V ] -(Ljava/lang/Object;)Ljava/lang/StringBuilder; [ _
V ` ] to execute b toString d @
V e ILcom/groupbyinc/flux/action/support/TransportAction; 4Lcom/groupbyinc/flux/action/support/TransportAction; Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable ?(Ljava/util/Map;Ljava/util/function/Supplier;)VX;>(Lcom/groupbyinc/flux/action/Action;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)V (Lcom/groupbyinc/flux/action/GenericAction;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/tasks/Task;(Lcom/groupbyinc/flux/action/GenericAction;TRequest;Lcom/groupbyinc/flux/tasks/TaskListener;)Lcom/groupbyinc/flux/tasks/Task;
StackMapTable ?(Lcom/groupbyinc/flux/action/GenericAction;)Lcom/groupbyinc/flux/action/support/TransportAction;
SourceFile ! i
i
j I *+,? ? k l
5 6 j m *+? *,? ? k
m l 9 :
; i n j + ? k l @ j { *+,-? #W? k * $ &