Streamable, Writeable, TaskAwareRequestpublic class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
TransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>ALL_ACTIONS, ALL_NODES| Constructor | Description |
|---|---|
ListTasksRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getDetailed() |
Should the detailed task information be returned.
|
boolean |
getWaitForCompletion() |
Should this request wait for all found tasks to complete?
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
ListTasksRequest |
setDetailed(boolean detailed) |
Should the detailed task information be returned.
|
ListTasksRequest |
setWaitForCompletion(boolean waitForCompletion) |
Should this request wait for all found tasks to complete?
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResultgetActions, getNodes, getParentTaskId, getTaskId, getTimeout, match, setActions, setNodes, setParentTaskId, setTaskId, setTimeout, setTimeout, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskremoteAddress, remoteAddressgetParentTask, setParentTaskpublic boolean getDetailed()
public ListTasksRequest setDetailed(boolean detailed)
public boolean getWaitForCompletion()
public ListTasksRequest setWaitForCompletion(boolean waitForCompletion)
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BaseTasksRequest<ListTasksRequest>java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class BaseTasksRequest<ListTasksRequest>java.io.IOException