Module org.elasticsearch.server
Package org.elasticsearch.persistent
Class CompletionPersistentTaskAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
org.elasticsearch.action.support.HandledTransportAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
org.elasticsearch.persistent.CompletionPersistentTaskAction.TransportAction
- All Implemented Interfaces:
ActionWithReservedState<CompletionPersistentTaskAction.Request>
- Enclosing class:
CompletionPersistentTaskAction
public static class CompletionPersistentTaskAction.TransportAction
extends TransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields 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 ClusterBlockExceptioncheckBlock(CompletionPersistentTaskAction.Request request, ClusterState state) protected final voidmasterOperation(Task ignoredTask, CompletionPersistentTaskAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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(CompletionPersistentTaskAction.Request request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(Task ignoredTask, CompletionPersistentTaskAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-