Package org.elasticsearch.persistent
Class CompletionPersistentTaskAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
org.elasticsearch.persistent.CompletionPersistentTaskAction.TransportAction
- 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, 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(CompletionPersistentTaskAction.Request request, ClusterState state)
protected void
masterOperation(CompletionPersistentTaskAction.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(CompletionPersistentTaskAction.Request request, ClusterState state)- Specified by:
checkBlock
in classTransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-
masterOperation
protected final void masterOperation(CompletionPersistentTaskAction.Request request, ClusterState state, ActionListener<PersistentTaskResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<CompletionPersistentTaskAction.Request,PersistentTaskResponse>
-