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

public class TransportGetTaskAction
extends HandledTransportAction<GetTaskRequest,​GetTaskResponse>
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