Class MonitoringBulkResponse

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted

public class MonitoringBulkResponse extends ActionResponse
  • Constructor Details

    • MonitoringBulkResponse

      public MonitoringBulkResponse(long tookInMillis, boolean ignored)
    • MonitoringBulkResponse

      public MonitoringBulkResponse(long tookInMillis, MonitoringBulkResponse.Error error)
    • MonitoringBulkResponse

      public MonitoringBulkResponse(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • getTook

      public org.elasticsearch.core.TimeValue getTook()
    • getTookInMillis

      public long getTookInMillis()
    • isIgnored

      public boolean isIgnored()
      Determine if the request was ignored.
      Returns:
      true if the request was ignored because collection was disabled.
    • status

      public RestStatus status()
      Returns HTTP status
    • getError

      public MonitoringBulkResponse.Error getError()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Throws:
      IOException