java.lang.Object
co.elastic.clients.elasticsearch.nodes.Breaker
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Breaker extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • estimatedSize

      @Nullable public final String estimatedSize()
      Estimated memory used for the operation.

      API name: estimated_size

    • estimatedSizeInBytes

      @Nullable public final Long estimatedSizeInBytes()
      Estimated memory used, in bytes, for the operation.

      API name: estimated_size_in_bytes

    • limitSize

      @Nullable public final String limitSize()
      Memory limit for the circuit breaker.

      API name: limit_size

    • limitSizeInBytes

      @Nullable public final Long limitSizeInBytes()
      Memory limit, in bytes, for the circuit breaker.

      API name: limit_size_in_bytes

    • overhead

      @Nullable public final Float overhead()
      A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.

      API name: overhead

    • tripped

      @Nullable public final Float tripped()
      Total number of times the circuit breaker has been triggered and prevented an out of memory error.

      API name: tripped

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupBreakerDeserializer

      protected static void setupBreakerDeserializer(ObjectDeserializer<Breaker.Builder> op)