All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest

public class ListTasksRequest
extends BaseTasksRequest<ListTasksRequest>
A request to get node tasks
  • Constructor Details

    • ListTasksRequest

      public ListTasksRequest()
    • ListTasksRequest

      public ListTasksRequest​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BaseTasksRequest<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?