Module org.elasticsearch.server
Package org.elasticsearch.persistent
Class PersistentTasksNodeService
java.lang.Object
org.elasticsearch.persistent.PersistentTasksNodeService
- All Implemented Interfaces:
- ClusterStateListener
This component is responsible for coordination of execution of persistent tasks on individual nodes. It runs on all
 nodes in the cluster and monitors cluster state changes to detect started commands.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionPersistentTasksNodeService(PersistentTasksService persistentTasksService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, TaskManager taskManager, NodePersistentTasksExecutor nodePersistentTasksExecutor) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled when cluster state changes.
- 
Constructor Details- 
PersistentTasksNodeServicepublic PersistentTasksNodeService(PersistentTasksService persistentTasksService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, TaskManager taskManager, NodePersistentTasksExecutor nodePersistentTasksExecutor) 
 
- 
- 
Method Details- 
clusterChangedDescription copied from interface:ClusterStateListenerCalled when cluster state changes.Cluster states are applied one-by-one which means they can be a performance bottleneck. Implementations of this method should therefore be fast, so please consider forking work into the background rather than doing everything inline. - Specified by:
- clusterChangedin interface- ClusterStateListener
 
 
-