Package org.opensearch.persistent
Class PersistentTasksNodeService
java.lang.Object
org.opensearch.persistent.PersistentTasksNodeService
- All Implemented Interfaces:
ClusterStateListener
public class PersistentTasksNodeService extends java.lang.Object implements ClusterStateListener
This component is responsible for coordination of execution of persistent tasks on individual nodes. It runs on all
non-transport client nodes in the cluster and monitors cluster state changes to detect started commands.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PersistentTasksNodeService.Status
-
Constructor Summary
Constructors Constructor Description PersistentTasksNodeService(PersistentTasksService persistentTasksService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, TaskManager taskManager, NodePersistentTasksExecutor nodePersistentTasksExecutor)
-
Method Summary
Modifier and Type Method Description void
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
-
Constructor Details
-
PersistentTasksNodeService
public PersistentTasksNodeService(PersistentTasksService persistentTasksService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, TaskManager taskManager, NodePersistentTasksExecutor nodePersistentTasksExecutor)
-
-
Method Details
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.- Specified by:
clusterChanged
in interfaceClusterStateListener
-