Package org.elasticsearch.persistent
Class UpdatePersistentTaskStatusAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
org.elasticsearch.persistent.UpdatePersistentTaskStatusAction.TransportAction
- Enclosing class:
- UpdatePersistentTaskStatusAction
public static class UpdatePersistentTaskStatusAction.TransportAction
extends TransportMasterNodeAction<UpdatePersistentTaskStatusAction.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, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(UpdatePersistentTaskStatusAction.Request request, ClusterState state) protected final void
masterOperation
(UpdatePersistentTaskStatusAction.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, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(UpdatePersistentTaskStatusAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,
PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(UpdatePersistentTaskStatusAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,
PersistentTaskResponse>
-