Class GetTaskRequest

    • Constructor Detail

      • GetTaskRequest

        public GetTaskRequest()
        Get the TaskId to look up.
      • GetTaskRequest

        public GetTaskRequest​(StreamInput in)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getTaskId

        public TaskId getTaskId()
      • setTaskId

        public GetTaskRequest setTaskId​(TaskId taskId)
        Set the TaskId to look up. Required.
      • getWaitForCompletion

        public boolean getWaitForCompletion()
        Should this request wait for all found tasks to complete?
      • setWaitForCompletion

        public GetTaskRequest setWaitForCompletion​(boolean waitForCompletion)
        Should this request wait for all found tasks to complete?
      • getTimeout

        public TimeValue getTimeout()
        Timeout to wait for any async actions this request must take. It must take anywhere from 0 to 2.
      • setTimeout

        public GetTaskRequest setTimeout​(TimeValue timeout)
        Timeout to wait for any async actions this request must take. It must take anywhere from 0 to 2.