Module org.elasticsearch.server
Package org.elasticsearch.persistent
Class UpdatePersistentTaskStatusAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
org.elasticsearch.action.support.HandledTransportAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
org.elasticsearch.persistent.UpdatePersistentTaskStatusAction.TransportAction
- All Implemented Interfaces:
ActionWithReservedState<UpdatePersistentTaskStatusAction.Request>
- 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, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorsConstructorDescriptionTransportAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(UpdatePersistentTaskStatusAction.Request request, ClusterState state) protected final void
masterOperation
(Task ignoredTask, UpdatePersistentTaskStatusAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportAction
@Inject public TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService)
-
-
Method Details
-
checkBlock
protected ClusterBlockException checkBlock(UpdatePersistentTaskStatusAction.Request request, ClusterState state) - Specified by:
checkBlock
in classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,
PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(Task ignoredTask, UpdatePersistentTaskStatusAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,
PersistentTaskResponse>
-