public class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
TransportRequest.EmptyALL_ACTIONS, ALL_NODES, ALL_TASKSheaders| 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, validatecreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic 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 StreamablereadFrom in class BaseTasksRequest<ListTasksRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseTasksRequest<ListTasksRequest>IOExceptionCopyright © 2009–2017. All rights reserved.