Module org.elasticsearch.server
Class TransportGetTaskAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
 
org.elasticsearch.action.support.HandledTransportAction<GetTaskRequest,GetTaskResponse>
 
org.elasticsearch.action.admin.cluster.node.tasks.get.TransportGetTaskAction
ActionType to get a single task. If the task isn't running then it'll try to request the status from request index.
 The general flow is:
 
- If this isn't being executed on the node to which the requested TaskId belongs then move to that node.
- Look up the task and return it if it exists
- If it doesn't then look up the task from the results index
- 
Field SummaryFields inherited from class org.elasticsearch.action.support.TransportActionactionName, logger, taskManager
- 
Constructor SummaryConstructorsConstructorDescriptionTransportGetTaskAction(ThreadPool threadPool, TransportService transportService, ActionFilters actionFilters, ClusterService clusterService, Client client, NamedXContentRegistry xContentRegistry) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoExecute(Task thisTask, GetTaskRequest request, ActionListener<GetTaskResponse> listener) Methods inherited from class org.elasticsearch.action.support.TransportActionexecute
- 
Constructor Details- 
TransportGetTaskAction@Inject public TransportGetTaskAction(ThreadPool threadPool, TransportService transportService, ActionFilters actionFilters, ClusterService clusterService, Client client, NamedXContentRegistry xContentRegistry) 
 
- 
- 
Method Details- 
doExecuteprotected void doExecute(Task thisTask, GetTaskRequest request, ActionListener<GetTaskResponse> listener) - Specified by:
- doExecutein class- TransportAction<GetTaskRequest,- GetTaskResponse> 
 
 
-