Streamable, Writeable, TaskAwareRequestpublic class GetTaskRequest extends ActionRequest
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
GetTaskRequest() |
| Modifier and Type | Method | 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.
|
getShouldStoreResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic 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 ActionRequestpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ActionRequestjava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ActionRequestjava.io.IOException