Streamable
, Writeable
, TaskAwareRequest
public class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
TransportRequest.Empty
Writeable.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.
|
getShouldStoreResult
getActions, getNodes, getParentTaskId, getTaskId, getTimeout, match, setActions, setNodes, setParentTaskId, setTaskId, setTimeout, setTimeout, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, 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 interface Writeable
writeTo
in class BaseTasksRequest<ListTasksRequest>
java.io.IOException