Class BaseTasksResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted
Direct Known Subclasses:
ListTasksResponse

public class BaseTasksResponse extends ActionResponse
Base class for responses of task-related operations
  • Field Details

  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Throws:
    • getTaskFailures

      public <TaskOperationFailure> getTaskFailures()
      The list of task failures exception.
    • getNodeFailures

      public <ElasticsearchException> getNodeFailures()
      The list of node failures exception.
    • rethrowFailures

      public void rethrowFailures( operationName)
      Rethrow task failures if there are any.
    • toXContentCommon

      protected void toXContentCommon(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws
      Throws:
    • equals

      public boolean equals( o)
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Overrides:
       in class