Package org.elasticsearch.persistent
Class StartPersistentTaskAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
org.elasticsearch.persistent.StartPersistentTaskAction.TransportAction
- Enclosing class:
- StartPersistentTaskAction
public static class StartPersistentTaskAction.TransportAction
extends TransportMasterNodeAction<StartPersistentTaskAction.Request,PersistentTaskResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, PersistentTasksService persistentTasksService, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(StartPersistentTaskAction.Request request, ClusterState state) protected final void
masterOperation
(StartPersistentTaskAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportAction
@Inject public TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService, PersistentTasksExecutorRegistry persistentTasksExecutorRegistry, PersistentTasksService persistentTasksService, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(StartPersistentTaskAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<StartPersistentTaskAction.Request,
PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(StartPersistentTaskAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<StartPersistentTaskAction.Request,
PersistentTaskResponse>
-