Package org.elasticsearch.persistent
Class NodePersistentTasksExecutor
- java.lang.Object
-
- org.elasticsearch.persistent.NodePersistentTasksExecutor
-
public class NodePersistentTasksExecutor extends java.lang.Object
This component is responsible for execution of persistent tasks. It abstracts away the execution of tasks and greatly simplifies testing of PersistentTasksNodeService
-
-
Method Summary
Modifier and Type Method Description <Params extends PersistentTaskParams>
voidexecuteTask(Params params, PersistentTaskState state, AllocatedPersistentTask task, PersistentTasksExecutor<Params> executor)
-
-
-
Method Detail
-
executeTask
public <Params extends PersistentTaskParams> void executeTask(Params params, @Nullable PersistentTaskState state, AllocatedPersistentTask task, PersistentTasksExecutor<Params> executor)
-
-