Module org.elasticsearch.server
Class GetTaskRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<GetTaskRequest,GetTaskResponse>
 
org.elasticsearch.action.admin.cluster.node.tasks.get.GetTaskRequestBuilder
Builder for the request to retrieve the list of tasks running on the specified nodes
- 
Field SummaryFields inherited from class org.elasticsearch.action.ActionRequestBuilderaction, client, request
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal GetTaskRequestBuilderSet the TaskId to look up.final GetTaskRequestBuildersetTimeout(TimeValue timeout) Timeout to wait for any async actions this request must take.final GetTaskRequestBuildersetWaitForCompletion(boolean waitForCompletion) Should this request wait for all found tasks to complete?
- 
Constructor Details- 
GetTaskRequestBuilder
 
- 
- 
Method Details- 
setTaskIdSet the TaskId to look up. Required.
- 
setWaitForCompletionShould this request wait for all found tasks to complete?
- 
setTimeoutTimeout to wait for any async actions this request must take. It must take anywhere from 0 to 2.
 
-