public class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
TransportRequest.Empty
ALL_ACTIONS, ALL_NODES, ALL_TASKS
headers
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) |
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) |
getActions, getNodesIds, getParentTaskId, getTaskId, getTimeout, match, setActions, setNodesIds, setParentTaskId, setTaskId, setTimeout, setTimeout, validate
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public boolean getDetailed()
public ListTasksRequest setDetailed(boolean detailed)
public boolean getWaitForCompletion()
public ListTasksRequest setWaitForCompletion(boolean waitForCompletion)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BaseTasksRequest<ListTasksRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseTasksRequest<ListTasksRequest>
IOException
Copyright © 2009–2016. All rights reserved.