Class IndexingPressureMemory

java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexingPressureMemory
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class IndexingPressureMemory
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static IndexingPressureMemory of​(java.util.function.Function<IndexingPressureMemory.Builder,​ObjectBuilder<IndexingPressureMemory>> fn)
    • limit

      @Nullable public final java.lang.Integer limit()
      Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded, the node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit, the node will reject new replica operations. Defaults to 10% of the heap.

      API name: limit

    • 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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupIndexingPressureMemoryDeserializer

      protected static void setupIndexingPressureMemoryDeserializer​(ObjectDeserializer<IndexingPressureMemory.Builder> op)