com.groupbyinc.flux.action.support.nodes.TransportNodesAction.class Maven / Gradle / Ivy
???? 47 =com/groupbyinc/flux/action/support/nodes/TransportNodesAction ?;NodesResponse:Lcom/groupbyinc/flux/action/support/nodes/BaseNodesResponse;NodeRequest:Lcom/groupbyinc/flux/action/support/nodes/BaseNodeRequest;NodeResponse:Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse;>Lcom/groupbyinc/flux/action/support/HandledTransportAction; 9com/groupbyinc/flux/action/support/HandledTransportAction TransportNodesAction.java Rcom/groupbyinc/flux/action/support/nodes/TransportNodesAction$NodeTransportHandler NodeTransportHandler Icom/groupbyinc/flux/action/support/nodes/TransportNodesAction$AsyncAction
AsyncAction %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; transportService 0Lcom/groupbyinc/flux/transport/TransportService; nodeResponseClass Ljava/lang/Class; !Ljava/lang/Class; transportNodeAction Ljava/lang/String; $assertionsDisabled Z ?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/lang/String;Ljava/lang/Class;)V/(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;)V
java/util/Objects " requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; $ %
# & 2com/groupbyinc/flux/cluster/service/ClusterService ( * .com/groupbyinc/flux/transport/TransportService , . java/lang/Class 0 2 java/lang/StringBuilder 4 ()V 6
5 7 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 9 :
5 ; [n] = toString ()Ljava/lang/String; ? @
5 A C B(Lcom/groupbyinc/flux/action/support/nodes/TransportNodesAction;)V E
F registerRequestHandler {(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V H I
- J this yLcom/groupbyinc/flux/action/support/nodes/TransportNodesAction; ?Lcom/groupbyinc/flux/action/support/nodes/TransportNodesAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
actionName
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; request -Ljava/util/function/Supplier; Ljava/util/function/Supplier; nodeRequest ,Ljava/util/function/Supplier; nodeExecutor doExecute i(Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Lcom/groupbyinc/flux/action/ActionListener;)V logger !Lorg/apache/logging/log4j/Logger; ` a b =attempt to execute a transport nodes operation without a task d org/apache/logging/log4j/Logger f warn (Ljava/lang/String;)V h i g j 'java/lang/UnsupportedOperationException l -task parameter is required for this operation n i
m p TNodesRequest; ;Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest; listener ; +Lcom/groupbyinc/flux/action/ActionListener; ?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ?(Lcom/groupbyinc/flux/action/support/nodes/TransportNodesAction;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Lcom/groupbyinc/flux/action/ActionListener;)V x
y start { 6
| task Lcom/groupbyinc/flux/tasks/Task; transportCompress ()Z newResponse ?(Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Ljava/util/concurrent/atomic/AtomicReferenceArray;)Lcom/groupbyinc/flux/action/support/nodes/BaseNodesResponse; java/util/ArrayList ?
? 7 java/util/List ? 0java/util/concurrent/atomic/AtomicReferenceArray ? length ()I ? ?
? ? get (I)Ljava/lang/Object; ? ?
? ? .com/groupbyinc/flux/action/FailedNodeException ? add (Ljava/lang/Object;)Z ? ? ? ? java/lang/Object ? cast ? %
1 ? 9com/groupbyinc/flux/action/support/nodes/BaseNodeResponse ? ?(Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Ljava/util/List;Ljava/util/List;)Lcom/groupbyinc/flux/action/support/nodes/BaseNodesResponse; ? ?
? response Ljava/lang/Object; i I nodesResponses 2Ljava/util/concurrent/atomic/AtomicReferenceArray; responses Ljava/util/List; Ljava/util/List; failures BLjava/util/List; newNodeRequest ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;)Lcom/groupbyinc/flux/action/support/nodes/BaseNodeRequest; newNodeResponse =()Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse;
nodeOperation w(Lcom/groupbyinc/flux/action/support/nodes/BaseNodeRequest;)Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse; ?(Lcom/groupbyinc/flux/action/support/nodes/BaseNodeRequest;Lcom/groupbyinc/flux/tasks/Task;)Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse; ? ?
?
TNodeRequest; :Lcom/groupbyinc/flux/action/support/nodes/BaseNodeRequest; resolveRequest h(Lcom/groupbyinc/flux/action/support/nodes/BaseNodesRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)V ? 9com/groupbyinc/flux/action/support/nodes/BaseNodesRequest ?
concreteNodes 3()[Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? java/lang/AssertionError ? &request concreteNodes shouldn't be set ? (Ljava/lang/Object;)V ?
? ? (com/groupbyinc/flux/cluster/ClusterState ? nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ? ?
? ? nodesIds ()[Ljava/lang/String; ? ?
? ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? resolveNodes (([Ljava/lang/String;)[Ljava/lang/String; ? ?
? ? java/util/Arrays ? stream .([Ljava/lang/Object;)Ljava/util/stream/Stream; ? ?
? ? "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; ? ?
? ? ? % D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? ? ? apply P(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)Ljava/util/function/Function; ? ? ? java/util/stream/Stream ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? ? ? ? lambda$resolveRequest$0 4(I)[Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? ? "()Ljava/util/function/IntFunction; ? ? ? toArray 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object; ? 1[Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; setConcreteNodes 4([Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V
? clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; [Ljava/lang/String; X(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ^ _
x(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ^ w
.com/groupbyinc/flux/cluster/node/DiscoveryNode x$0
access$000 l(Lcom/groupbyinc/flux/action/support/nodes/TransportNodesAction;)Lcom/groupbyinc/flux/threadpool/ThreadPool; R S x0
access$300 b(Lcom/groupbyinc/flux/action/support/nodes/TransportNodesAction;)Lorg/apache/logging/log4j/Logger;
access$400
access$500 desiredAssertionStatus! ?
1" Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/lang/String;Ljava/lang/Class;)V M(TNodesRequest;Lcom/groupbyinc/flux/action/ActionListener;)V m(Lcom/groupbyinc/flux/tasks/Task;TNodesRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
StackMapTable Q(TNodesRequest;Ljava/util/concurrent/atomic/AtomicReferenceArray;)TNodesResponse; ?(TNodesRequest;Ljava/util/List;Ljava/util/List;)TNodesResponse; /(Ljava/lang/String;TNodesRequest;)TNodeRequest; ()TNodeResponse; (TNodeRequest;)TNodeResponse; =(TNodeRequest;Lcom/groupbyinc/flux/tasks/Task;)TNodeResponse; ;(TNodesRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)V BootstrapMethods
SourceFile InnerClasses! $ % @ `*+,-? !*? '? )? +*? '? -? /*? '? 1? 3*? 5Y? 8,? <>?