Class GetTasksRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.tasks.GetTasksRequest
Get task information. Get information about a task currently running in the
cluster.
WARNING: The task management API is new and should still be considered a beta feature. The API may change in ways that are not backwards compatible.
If the task identifier is not found, a 404 response code indicates that there are no resources that match the request.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetTasksRequest,
GetTasksResponse, ErrorResponse> Endpoint "tasks.get
". -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "tasks.get
".
-
-
Method Details
-
of
public static GetTasksRequest of(Function<GetTasksRequest.Builder, ObjectBuilder<GetTasksRequest>> fn) -
taskId
Required - The task identifier.API name:
task_id
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
waitForCompletion
Iftrue
, the request blocks until the task has completed.API name:
wait_for_completion
-