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, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, PersistentTasksClusterService persistentTasksClusterService, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(UpdatePersistentTaskStatusAction.Request request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(UpdatePersistentTaskStatusAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener)protected PersistentTaskResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods 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
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>- Throws:
java.io.IOException
-
checkBlock
protected ClusterBlockException checkBlock(UpdatePersistentTaskStatusAction.Request request, ClusterState state)- Specified by:
checkBlockin classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(UpdatePersistentTaskStatusAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<UpdatePersistentTaskStatusAction.Request,PersistentTaskResponse>
-