public class GetTaskRequest extends ActionRequest
TransportRequest.Empty
Constructor and Description |
---|
GetTaskRequest() |
Modifier and Type | Method and Description |
---|---|
TaskId |
getTaskId()
Get the TaskId to look up.
|
TimeValue |
getTimeout()
Timeout to wait for any async actions this request must take.
|
boolean |
getWaitForCompletion()
Should this request wait for all found tasks to complete?
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
GetTaskRequest |
setTaskId(TaskId taskId)
Set the TaskId to look up.
|
GetTaskRequest |
setTimeout(TimeValue timeout)
Timeout to wait for any async actions this request must take.
|
GetTaskRequest |
setWaitForCompletion(boolean waitForCompletion)
Should this request wait for all found tasks to complete?
|
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public TaskId getTaskId()
public GetTaskRequest setTaskId(TaskId taskId)
public boolean getWaitForCompletion()
public GetTaskRequest setWaitForCompletion(boolean waitForCompletion)
public TimeValue getTimeout()
public GetTaskRequest setTimeout(TimeValue timeout)
public ActionRequestValidationException validate()
validate
in class ActionRequest
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionRequest
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class ActionRequest
java.io.IOException