Class ListTasksRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- org.elasticsearch.action.support.tasks.BaseTasksRequest<ListTasksRequest>
-
- org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksRequest
-
- All Implemented Interfaces:
Streamable
,Writeable
,TaskAwareRequest
public class ListTasksRequest extends BaseTasksRequest<ListTasksRequest>
A request to get node tasks
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.tasks.BaseTasksRequest
ALL_ACTIONS, ALL_NODES
-
-
Constructor Summary
Constructors Constructor Description ListTasksRequest()
ListTasksRequest(StreamInput in)
-
Method Summary
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?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.-
Methods inherited from class org.elasticsearch.action.support.tasks.BaseTasksRequest
getActions, getNodes, getParentTaskId, getTaskId, getTimeout, match, setActions, setNodes, setParentTaskId, setTaskId, setTimeout, setTimeout, validate
-
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult, readFrom
-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
-
-
-
Constructor Detail
-
ListTasksRequest
public ListTasksRequest()
-
ListTasksRequest
public ListTasksRequest(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Streamable
Write this object's fields to a StreamOutput.- Specified by:
writeTo
in interfaceStreamable
- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseTasksRequest<ListTasksRequest>
- Throws:
java.io.IOException
-
getDetailed
public boolean getDetailed()
Should the detailed task information be returned.
-
setDetailed
public ListTasksRequest setDetailed(boolean detailed)
Should the detailed task information be returned.
-
getWaitForCompletion
public boolean getWaitForCompletion()
Should this request wait for all found tasks to complete?
-
setWaitForCompletion
public ListTasksRequest setWaitForCompletion(boolean waitForCompletion)
Should this request wait for all found tasks to complete?
-
-