Class GetTaskAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<GetTaskRequest,GetTaskResponse,GetTaskRequestBuilder>
-
- org.elasticsearch.action.admin.cluster.node.tasks.get.GetTaskAction
-
public class GetTaskAction extends Action<GetTaskRequest,GetTaskResponse,GetTaskRequestBuilder>
Action for retrieving a list of currently running tasks
-
-
Field Summary
Fields Modifier and Type Field Description static GetTaskAction
INSTANCE
static java.lang.String
NAME
static java.lang.String
TASKS_ORIGIN
-
Method Summary
Modifier and Type Method Description GetTaskRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentGetTaskResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
TASKS_ORIGIN
public static final java.lang.String TASKS_ORIGIN
- See Also:
- Constant Field Values
-
INSTANCE
public static final GetTaskAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public GetTaskResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<GetTaskRequest,GetTaskResponse>
-
newRequestBuilder
public GetTaskRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<GetTaskRequest,GetTaskResponse,GetTaskRequestBuilder>
-
-