public class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
TransportRequest.Empty
ALL_ACTIONS, ALL_NODES
Constructor and Description |
---|
ListTasksRequest() |
Modifier and Type | Method and 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.
|
getActions, getNodes, getParentTaskId, getTaskId, getTimeout, match, setActions, setNodes, setParentTaskId, setTaskId, setTimeout, setTimeout, validate
getShouldStoreResult
getParentTask, setParentTask
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
public boolean getDetailed()
public ListTasksRequest setDetailed(boolean detailed)
public boolean getWaitForCompletion()
public ListTasksRequest setWaitForCompletion(boolean waitForCompletion)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BaseTasksRequest<ListTasksRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BaseTasksRequest<ListTasksRequest>
java.io.IOException