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

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

There is a newer version: 59
Show newest version
????4_9com/groupbyinc/flux/persistent/PersistentTasksNodeService6com/groupbyinc/flux/common/component/AbstractComponent0com/groupbyinc/flux/cluster/ClusterStateListenerPersistentTasksNodeService.java@com/groupbyinc/flux/persistent/PersistentTasksNodeService$StatusStatus;com/groupbyinc/flux/persistent/PersistentTasksNodeService$2;com/groupbyinc/flux/persistent/PersistentTasksNodeService$1
Kcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;persistentTasksService7Lcom/groupbyinc/flux/persistent/PersistentTasksService;persistentTasksExecutorRegistry@Lcom/groupbyinc/flux/persistent/PersistentTasksExecutorRegistry;taskManager'Lcom/groupbyinc/flux/tasks/TaskManager;nodePersistentTasksExecutor(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/persistent/PersistentTasksService;Lcom/groupbyinc/flux/persistent/PersistentTasksExecutorRegistry;Lcom/groupbyinc/flux/tasks/TaskManager;Lcom/groupbyinc/flux/persistent/NodePersistentTasksExecutor;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V$&
'java/util/HashMap)()V$+
*,	.	0	2 !	4"#	6this;Lcom/groupbyinc/flux/persistent/PersistentTasksNodeService;settings.Lcom/groupbyinc/flux/common/settings/Settings;clusterChanged4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEvent>state,()Lcom/groupbyinc/flux/cluster/ClusterState;@A
?B(com/groupbyinc/flux/cluster/ClusterStateDblocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;FG
EH*com/groupbyinc/flux/gateway/GatewayServiceJSTATE_NOT_RECOVERED_BLOCK0Lcom/groupbyinc/flux/cluster/block/ClusterBlock;LM	KN/com/groupbyinc/flux/cluster/block/ClusterBlocksPhasGlobalBlock3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)ZRS
QTgetMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;VW
EXpersistent_tasksZcustomJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;\]
^
previousState`A
?ajava/util/Objectscequals'(Ljava/lang/Object;Ljava/lang/Object;)Zef
dgnodesChanged()Zij
?kgetNodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;mn
Eo/com/groupbyinc/flux/cluster/node/DiscoveryNodesqgetLocalNodeId()Ljava/lang/String;st
rujava/util/HashSetw
java/util/MapykeySet()Ljava/util/Set;{|z}(Ljava/util/Collection;)V$
x?tasks()Ljava/util/Collection;??
?java/util/Collection?iterator()Ljava/util/Iterator;????java/lang/String?
java/util/Set?java/util/Iterator?hasNext?j??next()Ljava/lang/Object;????getExecutorNode?t
?(Ljava/lang/Object;)Ze?
??getAllocationId()J??
?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??get&(Ljava/lang/Object;)Ljava/lang/Object;??z?6com/groupbyinc/flux/persistent/AllocatedPersistentTask?	startTaskP(Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;)V??
?remove??????isCompleted?j
??logger!Lorg/apache/logging/log4j/Logger;??	?SFound completed persistent task [{}] with id [{}] and allocation id [{}] - removing?	getAction?t
??getPersistentTaskId?t
??
??org/apache/logging/log4j/Logger?traceK(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V??????z?XFound unregistered persistent task [{}] with id [{}] and allocation id [{}] - cancelling?
cancelTask(Ljava/lang/Long;)V??
?allocationIdLjava/lang/Long;persistentTask8Lcom/groupbyinc/flux/persistent/AllocatedPersistentTask;taskInProgressPLcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask<*>;MLcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;taskidlocalNodeIdLjava/lang/String;notVisitedTasks!Ljava/util/Set;Ljava/util/Set;event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;>Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData;
previousTasksjava/lang/Exception?getTaskName?t
?>com/groupbyinc/flux/persistent/PersistentTasksExecutorRegistry?getPersistentTaskExecutorSafeL(Ljava/lang/String;)Lcom/groupbyinc/flux/persistent/PersistentTasksExecutor;??
???(Lcom/groupbyinc/flux/persistent/PersistentTasksNodeService;Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;Lcom/groupbyinc/flux/persistent/PersistentTasksExecutor;)V$?
?
persistent?java/lang/StringBuilder?
?,append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??[c]?toStringt
?%com/groupbyinc/flux/tasks/TaskManagerregisterr(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskAwareRequest;)Lcom/groupbyinc/flux/tasks/Task;
getId	t

init?(Lcom/groupbyinc/flux/persistent/PersistentTasksService;Lcom/groupbyinc/flux/tasks/TaskManager;Lorg/apache/logging/log4j/Logger;Ljava/lang/String;J)V
?DPersistent task [{}] with id [{}] and allocation id [{}] was createdput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;z	getParams7()Lcom/groupbyinc/flux/persistent/PersistentTaskParams;
getState6()Lcom/groupbyinc/flux/persistent/PersistentTaskState;
:com/groupbyinc/flux/persistent/NodePersistentTasksExecutorexecuteTask?(Lcom/groupbyinc/flux/persistent/PersistentTaskParams;Lcom/groupbyinc/flux/persistent/PersistentTaskState;Lcom/groupbyinc/flux/persistent/AllocatedPersistentTask;Lcom/groupbyinc/flux/persistent/PersistentTasksExecutor;)V !
"6com/groupbyinc/flux/persistent/PersistentTasksExecutor$*com/groupbyinc/flux/tasks/TaskAwareRequest&markAsFailed(Ljava/lang/Exception;)V()
?*IPersistent task [{}] with id [{}] and allocation id [{}] failed to create,warn.??/
unregisterB(Lcom/groupbyinc/flux/tasks/Task;)Lcom/groupbyinc/flux/tasks/Task;12
3java/lang/Throwable5eLjava/lang/Exception;WLcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;executorBLcom/groupbyinc/flux/persistent/PersistentTasksExecutor;8Lcom/groupbyinc/flux/persistent/PersistentTasksExecutor;request,Lcom/groupbyinc/flux/tasks/TaskAwareRequest;	processedZmarkAsCancelledAj
?B)task has been removed, cancelling locallyD	?
?Fv(Lcom/groupbyinc/flux/persistent/PersistentTasksNodeService;Lcom/groupbyinc/flux/persistent/AllocatedPersistentTask;)V$H
I5com/groupbyinc/flux/persistent/PersistentTasksServiceKsendCancelRequestA(JLjava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)VMN
LOreason
access$000^(Lcom/groupbyinc/flux/persistent/PersistentTasksNodeService;)Lorg/apache/logging/log4j/Logger;x0
access$100	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable?(Lcom/groupbyinc/flux/persistent/PersistentTasksCustomMetaData$PersistentTask;)V
SourceFileInnerClasses!V !"#$%W?'*+?(*?*Y?-?/*,?1*-?3*?5*?7?X>'89':;''' !'"#Y@6ABC D&E<=W?
O+?C?I?O?U??+?C?Y[?_?M+?b?Y[?_?N,-?h?
+?l?+?C?p?v:?xY*?/?~??:,?f,????:???Q???:?????5????:*?/????:		?*???
??W?????:???y????:*?/????:???/*????????Ƹ???*?/??W?&*????????Ƹ???*?ԧ???Xp?(?????	?????W???g??L??^???O89O??!.??1??Z????^???YvILN!O1h@jLk^lbm?n?o?p?q?s?v?y?|?}?~?????(?0?@?E?K?N?[?
?.?,????J???	????Y???"???W@
*?3+???M?Y*+,??N*?5???Y??+???????-???:6*?1*?5*??+?+???*???????Ƹ???*?/+?????W*?7+?+?,?#?:?+6?`*??-?????Ƹ??0*?5?4W?5:?+*??-?????Ƹ??0*?5?4W??v?????????XH?78
89
??:<?=><??????@Z
?9:;Yn????<???X?f?q?v???????????????????????????????	??[+??%'??r6?.6?V\??W?/*?/+????M,?C?EN*?1,?G-?Y*,?J?P?X*Q?/89/??!??Y????.?[?.?RSW/*???XT9Y4USW/*???XT9Y4]^*	
			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy