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

com.groupbyinc.flux.persistent.PersistentTasksService.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?5com/groupbyinc/flux/persistent/PersistentTasksService6com/groupbyinc/flux/common/component/AbstractComponentPersistentTasksService.javaScom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListenerWaitForPersistentTaskListener7com/groupbyinc/flux/persistent/PersistentTasksService$2	7com/groupbyinc/flux/persistent/PersistentTasksService$1@com/groupbyinc/flux/persistent/StartPersistentTaskAction$Request
8com/groupbyinc/flux/persistent/StartPersistentTaskActionRequestKcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/client/Client;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)VDF
G>?	I@A	KBC	Mthis7Lcom/groupbyinc/flux/persistent/PersistentTasksService;settings.Lcom/groupbyinc/flux/common/settings/Settings;sendStartRequest?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/persistent/PersistentTaskParams;Lcom/groupbyinc/flux/action/ActionListener;)V"java/lang/invoke/LambdaMetafactoryUmetafactory?(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;WX
VYZ(Ljava/lang/Object;)V\lambda$sendStartRequest$0{(Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;)V^_
`aP(Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;)VcacceptY(Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/common/CheckedConsumer;efgjava/util/ObjectsirequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;kl
jm)com/groupbyinc/flux/action/ActionListenero	onFailure(Ljava/lang/Exception;)Vqrps	trJ(Lcom/groupbyinc/flux/action/ActionListener;)Ljava/util/function/Consumer;ewxwrapv(Lcom/groupbyinc/flux/common/CheckedConsumer;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/action/ActionListener;z{p|\(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/persistent/PersistentTaskParams;)VD~
INSTANCE:Lcom/groupbyinc/flux/persistent/StartPersistentTaskAction;??	?execute{(Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionListener;)V??
?taskIdtaskName
taskParamsTParams;5Lcom/groupbyinc/flux/persistent/PersistentTaskParams;listener?Lcom/groupbyinc/flux/action/ActionListener;>;+Lcom/groupbyinc/flux/action/ActionListener;wrappedListener}Lcom/groupbyinc/flux/action/ActionListener;>;requestBLcom/groupbyinc/flux/persistent/StartPersistentTaskAction$Request;sendCompletionRequestV(Ljava/lang/String;JLjava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;)V%Lcom/groupbyinc/flux/common/Nullable;+(Ljava/lang/String;JLjava/lang/Exception;)VD?
??Lcom/groupbyinc/flux/persistent/CompletionPersistentTaskAction;??	?taskAllocationIdJtaskFailureLjava/lang/Exception;GLcom/groupbyinc/flux/persistent/CompletionPersistentTaskAction$Request;sendCancelRequestA(JLjava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)Vjava/lang/Throwable?java/lang/Exception?Mcom/groupbyinc/flux/action/admin/cluster/node/tasks/cancel/CancelTasksRequest?()VD?
?? com/groupbyinc/flux/tasks/TaskId?2com/groupbyinc/flux/cluster/service/ClusterService?	localNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??.com/groupbyinc/flux/cluster/node/DiscoveryNode?getId()Ljava/lang/String;??
??(Ljava/lang/String;J)VD?
??	setTaskId_(Lcom/groupbyinc/flux/tasks/TaskId;)Lcom/groupbyinc/flux/action/support/tasks/BaseTasksRequest;??
??	setReasonc(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/node/tasks/cancel/CancelTasksRequest;??
??!com/groupbyinc/flux/client/Client?-()Lcom/groupbyinc/flux/threadpool/ThreadPool;B???)com/groupbyinc/flux/threadpool/ThreadPool?getThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;??
??newRestorableContext (Z)Ljava/util/function/Supplier;??
?stashWithOrigin?(Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;Ljava/lang/String;)Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;??
?admin*()Lcom/groupbyinc/flux/client/AdminClient;????&com/groupbyinc/flux/client/AdminClient?cluster1()Lcom/groupbyinc/flux/client/ClusterAdminClient;????Bcom/groupbyinc/flux/action/support/ContextPreservingActionListener?K(Ljava/util/function/Supplier;Lcom/groupbyinc/flux/action/ActionListener;)VD?
??-com/groupbyinc/flux/client/ClusterAdminClient?cancelTasks}(Lcom/groupbyinc/flux/action/admin/cluster/node/tasks/cancel/CancelTasksRequest;Lcom/groupbyinc/flux/action/ActionListener;)V????$closeResource1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)V??
?java/lang/String?java/util/function/Supplier?ignoreHLcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;
threadContext:Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;suppliergLjava/util/function/Supplier;Ljava/util/function/Supplier;ereason}Lcom/groupbyinc/flux/action/ActionListener;OLcom/groupbyinc/flux/action/admin/cluster/node/tasks/cancel/CancelTasksRequest;sendUpdateStateRequestu(Ljava/lang/String;JLcom/groupbyinc/flux/persistent/PersistentTaskState;Lcom/groupbyinc/flux/action/ActionListener;)VJ(Ljava/lang/String;JLcom/groupbyinc/flux/persistent/PersistentTaskState;)VD
!ALcom/groupbyinc/flux/persistent/UpdatePersistentTaskStatusAction;?	#taskAllocationID	taskState4Lcom/groupbyinc/flux/persistent/PersistentTaskState;ILcom/groupbyinc/flux/persistent/UpdatePersistentTaskStatusAction$Request;sendRemoveRequest@(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V(Ljava/lang/String;)VD
%;Lcom/groupbyinc/flux/persistent/RemovePersistentTaskAction;?	'CLcom/groupbyinc/flux/persistent/RemovePersistentTaskAction$Request;lambda$execute$1e(Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/persistent/PersistentTaskResponse;)V
:(Lcom/groupbyinc/flux/persistent/PersistentTaskResponse;)Vg{(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?? (com/groupbyinc/flux/action/ActionRequest"!com/groupbyinc/flux/action/Action$TReq;*Lcom/groupbyinc/flux/action/ActionRequest;action9Lcom/groupbyinc/flux/action/Action;#Lcom/groupbyinc/flux/action/Action;waitForPersistentTaskCondition?(Ljava/lang/String;Ljava/util/function/Predicate;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListener;)V(Ljava/lang/Object;)Z-'lambda$waitForPersistentTaskCondition$2](Ljava/util/function/Predicate;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)Z/0
12-(Lcom/groupbyinc/flux/cluster/ClusterState;)Z4testP(Ljava/util/function/Predicate;Ljava/lang/String;)Ljava/util/function/Predicate;678logger!Lorg/apache/logging/log4j/Logger;:;	<?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)VD>
+?setAndGetObservedState,()Lcom/groupbyinc/flux/cluster/ClusterState;AB
+Cjava/util/function/PredicateE6-FG
getTaskWithId?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;IJ
K
onResponseM\N(com/groupbyinc/flux/cluster/ClusterStateP?(Lcom/groupbyinc/flux/persistent/PersistentTasksService;Lcom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListener;Ljava/lang/String;)VDR
SwaitForNextChange\(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;)VUV
+W	predicatepLjava/util/function/Predicate;>;Ljava/util/function/Predicate;timeout+Lcom/groupbyinc/flux/common/unit/TimeValue;XLcom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListener<*>;ULcom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListener;clusterStatePredicateJLjava/util/function/Predicate;observer2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;clusterState*Lcom/groupbyinc/flux/cluster/ClusterState;waitForPersistentTasksConditionw(Ljava/util/function/Predicate;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/action/ActionListener;)V(lambda$waitForPersistentTasksCondition$3K(Ljava/util/function/Predicate;Lcom/groupbyinc/flux/cluster/ClusterState;)Zhi
jk>(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;6mnjava/lang/BooleanpvalueOf(Z)Ljava/lang/Boolean;rs
qtpNe(Lcom/groupbyinc/flux/persistent/PersistentTasksService;Lcom/groupbyinc/flux/action/ActionListener;)VDw

x?(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;Lcom/groupbyinc/flux/common/unit/TimeValue;)VUz
+{^Ljava/util/function/Predicate;@Lcom/groupbyinc/flux/action/ActionListener;stashContextJ()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext;?
?putTransient'(Ljava/lang/String;Ljava/lang/Object;)V??
?origin
storedContextmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
Q?customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;??
0?5com/groupbyinc/flux/persistent/PersistentTaskResponse?getTaskO()Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;??
??r7Lcom/groupbyinc/flux/persistent/PersistentTaskResponse;tMLcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;java/lang/AutoCloseable?close????
addSuppressed(Ljava/lang/Throwable;)V??
??x0Ljava/lang/Throwable;x1Ljava/lang/AutoCloseable;
access$000m(Lcom/groupbyinc/flux/persistent/PersistentTasksService;)Lcom/groupbyinc/flux/cluster/service/ClusterService;
ConstantValueCodeLocalVariableTableLineNumberTableLocalVariableTypeTable	Signature?(Ljava/lang/String;Ljava/lang/String;TParams;Lcom/groupbyinc/flux/action/ActionListener;>;)V?(Ljava/lang/String;JLjava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;>;)V"RuntimeVisibleParameterAnnotations
StackMapTable?(JLjava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V?(Ljava/lang/String;JLcom/groupbyinc/flux/persistent/PersistentTaskState;Lcom/groupbyinc/flux/action/ActionListener;>;)V?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;>;)Vy;>(TReq;Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionListener;>;)V(Ljava/lang/String;Ljava/util/function/Predicate;>;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/persistent/PersistentTasksService$WaitForPersistentTaskListener<*>;)V?(Ljava/util/function/Predicate;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/action/ActionListener;)V
ExceptionsBootstrapMethods
SourceFileInnerClasses!78?:;8?=>?@ABCDE?x*+?H*?J*,?L*-?N??4OPQR@ABC>??<=>?@ST??0?hY?nW?y?}:?Y+,-??:*??????H0OP0?80?80??0????$??? 0??0?????J
KL$M/N???????Y+ ??:*??????>OP?8??????
??????Y
Z[???
????????Y??:??Y*?L????????W-??W*?J????:??:=??::	*?J??????Y????'	??:

:	
?:?
	????:?t?Jjy?Jj?y??(????\	GL??6]??>U???	???OP?????8???	???>U?????:a	b!c(e6f>hJijjyh?j?m?k?l?n?I?y	?p????H??
???p?B?
?????!Y+ ?:*?	????>OP?8
???
?
????z
|}???u?%Y+?N*-?,????*OP?8??	
??????	????????	
?*?J????:??:=??::*?J,+??Y-?-Y?nW?y?}??!?'??::?:	?
??	??
:-?t?"JY?"JbYdbsv??RT??e??]??x???OP??'?(*????*]????&?()????6
???"?6?E?J?Y?b?s?v?x????G?Y#%p???H??
??#%pB?	??+,?X,+?9:?+Y*?L-*?=*?N?ѷ@:?D:?H?+?L?O??Y*+?T?X??RXOPX?8XY[X\]X?_	O`["6bc)/de? XYZX?^	O`a??	?"?)?5?E?W???EF+Q???
?fg??O+?o:?+Y*?L,*?=*?N?ѷ@:?D?H?-?u?v??
Y*-?y,?|??>OOPOY[O\]O??G`[!.bc? OY}O?~G`a???!?0?=?N???=F+????	???T*??M*:+??,?? ???8	??????
hi?G*+??=????H??Y[de??
/0?J*,+?L?H?? Y[?8de??
??*+???v??????????
^_?<*+?v???????K??
???g*?+???M*,???	+???

???????j?M????/*?L???P?2?4[]bd[]uv[][.35[.l5??b	
				!#	%'	)+,	.01	356




© 2015 - 2024 Weber Informatics LLC | Privacy Policy