All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.action.support.tasks.TransportTasksAction.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?=com/groupbyinc/flux/action/support/tasks/TransportTasksActionj;TasksResponse:Lcom/groupbyinc/flux/action/support/tasks/BaseTasksResponse;TaskResponse::Lcom/groupbyinc/flux/common/io/stream/Writeable;>Lcom/groupbyinc/flux/action/support/HandledTransportAction;9com/groupbyinc/flux/action/support/HandledTransportActionTransportTasksAction.javaOcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTasksResponseNodeTasksResponseMcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest
NodeTaskRequestRcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTransportHandler
NodeTransportHandlerIcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$AsyncActionAsyncAction?com/groupbyinc/flux/action/support/tasks/TransportTasksAction$1%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupclusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;transportService0Lcom/groupbyinc/flux/transport/TransportService;requestSupplierLjava/util/function/Supplier;-Ljava/util/function/Supplier;responseSupplier.Ljava/util/function/Supplier;transportNodeActionLjava/lang/String;?(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;)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/lang/StringBuilder.()V%0
/1append-(Ljava/lang/String;)Ljava/lang/StringBuilder;34
/5[n]7toString()Ljava/lang/String;9:
/;#$	=	?!	A"java/lang/invoke/LambdaMetafactoryCmetafactory?(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;EF
DGH()Ljava/lang/Object;Jlambda$new$0Q()Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest;LM
NOMget^(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;)Ljava/util/function/Supplier;RSTB(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;)V%V
W.com/groupbyinc/flux/transport/TransportServiceYregisterRequestHandler{(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V[\
Z]this{Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;?Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
actionName
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters2Lcom/groupbyinc/flux/action/support/ActionFilters;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;nodeExecutor	doExecutei(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vlogger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;no	p=attempt to execute a transport tasks operation without a taskr6com/groupbyinc/flux/common/apache/logging/log4j/Loggertwarn(Ljava/lang/String;)Vvwux'java/lang/UnsupportedOperationExceptionz-task parameter is required for this operation|%w
{~requestTTasksRequest;;Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;listener;+Lcom/groupbyinc/flux/action/ActionListener;?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;)V	(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$1;)V%?
?
access$100N(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$AsyncAction;)V??
?task Lcom/groupbyinc/flux/tasks/Task;
nodeOperation}(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vjava/lang/Exception?
access$200?(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest;)Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;??
?java/util/ArrayList?
?1java/lang/Object?getClass()Ljava/lang/Class;??
??(Ljava/lang/Object;)V?java/util/List?add(Ljava/lang/Object;)Z????	?#(Lcom/groupbyinc/flux/tasks/Task;)V?accept/(Ljava/util/List;)Ljava/util/function/Consumer;???processTasks[(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Ljava/util/function/Consumer;)V??
?isEmpty()Z????2com/groupbyinc/flux/cluster/service/ClusterService?	localNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??.com/groupbyinc/flux/cluster/node/DiscoveryNode?getId?:
??java/util/Collections?	emptyList()Ljava/util/List;??
??t(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V%?
?)com/groupbyinc/flux/action/ActionListener?
onResponse????9com/groupbyinc/flux/action/support/tasks/BaseTasksRequest?6com/groupbyinc/flux/common/util/concurrent/AtomicArray?size()I????(I)V%?
??)java/util/concurrent/atomic/AtomicInteger?
???(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;ILjava/util/concurrent/atomic/AtomicInteger;Ljava/util/List;Lcom/groupbyinc/flux/action/ActionListener;)V%?
?(I)Ljava/lang/Object;R???com/groupbyinc/flux/tasks/Task?
taskOperation?(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionListener;)V??
?	onFailure(Ljava/lang/Exception;)V????eLjava/lang/Exception;	taskIndexItaskListener;Lcom/groupbyinc/flux/action/ActionListener;inodeTaskRequest?Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction.NodeTaskRequest;OLcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest;?Lcom/groupbyinc/flux/action/ActionListener.NodeTasksResponse;>;tasks!Ljava/util/List;Ljava/util/List;	responses?Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;>;8Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;counter+Ljava/util/concurrent/atomic/AtomicInteger;
filterNodeIdsY(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;[Ljava/lang/String;)[Ljava/lang/String;nodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;nodesIds[Ljava/lang/String;resolveNodesz(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)[Ljava/lang/String;	getTaskId$()Lcom/groupbyinc/flux/tasks/TaskId;

? com/groupbyinc/flux/tasks/TaskIdisSet?
java/lang/String	getNodeId:
(com/groupbyinc/flux/cluster/ClusterState3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;
getNodes()[Ljava/lang/String;
?/com/groupbyinc/flux/cluster/node/DiscoveryNodes!(([Ljava/lang/String;)[Ljava/lang/String;#
"$clusterState*Lcom/groupbyinc/flux/cluster/ClusterState;taskManager'Lcom/groupbyinc/flux/tasks/TaskManager;()	*()J?,
-%com/groupbyinc/flux/tasks/TaskManager/getTask#(J)Lcom/groupbyinc/flux/tasks/Task;12
03match#(Lcom/groupbyinc/flux/tasks/Task;)Z56
?7java/util/function/Consumer9??:;-com/groupbyinc/flux/ResourceNotFoundException=(task [{}] doesn't support this operation?((Ljava/lang/String;[Ljava/lang/Object;)V%A
>Btask [{}] is missingDgetTasks()Ljava/util/Map;FG
0H
java/util/MapJvalues()Ljava/util/Collection;LMKNjava/util/CollectionPiterator()Ljava/util/Iterator;RSQTjava/util/IteratorVhasNextX?WYnext[JW\	operation.Ljava/util/function/Consumer;Ljava/util/function/Consumer;newResponse?(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lcom/groupbyinc/flux/action/support/tasks/BaseTasksResponse;?(Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;Ljava/util/concurrent/atomic/AtomicReferenceArray;)Lcom/groupbyinc/flux/action/support/tasks/BaseTasksResponse;0java/util/concurrent/atomic/AtomicReferenceArraydlengthf?
eg
e?.com/groupbyinc/flux/action/FailedNodeExceptionjresultsl?	maddAll(Ljava/util/Collection;)Zop?q
exceptionss?	tab
v
tasksResponse?Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction.NodeTasksResponse;QLcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTasksResponse;responseLjava/lang/Object;2Ljava/util/concurrent/atomic/AtomicReferenceArray; Ljava/util/List;failedNodeExceptionsBLjava/util/List;taskOperationFailuresCLjava/util/List;readTaskResponsed(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/Writeable;java/io/IOException?transportCompressX(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vlm
?x(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vl?
?
W
access$300y(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;x0
access$600
access$700
access$800
access$900access$1000?(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction;Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction$NodeTaskRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
?x1x2	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(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;)VM(TTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vm(Lcom/groupbyinc/flux/tasks/Task;TTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
StackMapTableH(Lcom/groupbyinc/flux/action/support/tasks/TransportTasksAction.NodeTaskRequest;Lcom/groupbyinc/flux/action/ActionListener.NodeTasksResponse;>;)VM(TTasksRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)[Ljava/lang/String;?(TTasksRequest;Ljava/util/function/Consumer;)V?(TTasksRequest;Ljava/util/List;Ljava/util/List;Ljava/util/List;)TTasksResponse;Q(TTasksRequest;Ljava/util/concurrent/atomic/AtomicReferenceArray;)TTasksResponse;
ExceptionsB(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)TTaskResponse;[(TTasksRequest;TOperationTask;Lcom/groupbyinc/flux/action/ActionListener;)VBootstrapMethods
SourceFileInnerClasses!? !?"#$%&?(X*+,-?)*?+*?-*?/Y?2,?68?6?*?@*	?B*?>*?U
?Y*?X?^??pX_aXbcXd$XefXXXghXijXX!	Xk$
? X_`X X!"	?"VWXY2Z8[>]W^??lm?}*?qs?y?{Y}??? _a????? _`?????
bc??l????Y*+,-??????*_a??????? _`?????
hi??????+??N??Y??:*-Y??W???????",?Y**?+???¸ȸȷ˹????Y????:??Y????:6???A6?Y*,??:	*-????	??:
	
????????????p?	??
{4???!??	kJ???_a????????????X^??hN?H?!??	?_`????????????X^???Flmno)pGqHsXthuwv{w?????????u?????H???"???8
????????
????R,?? _a?_`??	??%+?
???Y+?
?S?,?+? ?%?? %_a%??%&'?%_`%????
????????^?+?
??W*?++?
?.?4N-?++-?8?
,-?<?/?>Y@??Y+?
S?C??>YE??Y+?
S?C??=*?+?I?O?UN-?Z?"-?]??:+?8?,?<??۱?4B??????_a????^`? ?_`????^_?6
?
???%?/?E?[?^???????????/???W$???ab??ac??	???Y??N??Y??:??Y??:6,?h?Y,?i:?k??k??W?3?:?n?-?n?rW?u??u?rW????*+-?w??\	M)xz.H{|_???_a?????}??v?m???>M)xy?_`????~v?m???:????&?.?6?F?M?U?a?i?v?|??.??e????(???????????????????>??_a?_`??Dl??F
*+??,????
_a?
_`?CDl??G*+,??-????_a?_`?CLM?E	?Y*????	_a?	_`?]???/*?q???a?C???/*?q???a?C???/*?q???a?C???/*?q???a?C???/*?q???a?C???E*+,???? ?a?????C?IKPQI??????2	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy