Package org.elasticsearch.persistent
Class NodePersistentTasksExecutor
java.lang.Object
org.elasticsearch.persistent.NodePersistentTasksExecutor
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 TypeMethodDescription<Params extends PersistentTaskParams>
voidexecuteTask(Params params, PersistentTaskState state, AllocatedPersistentTask task, PersistentTasksExecutor<Params> executor)
-
Method Details
-
executeTask
public <Params extends PersistentTaskParams> void executeTask(Params params, @Nullable PersistentTaskState state, AllocatedPersistentTask task, PersistentTasksExecutor<Params> executor)
-