Class PressureMemory

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

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

  • Method Details

    • of

    • all

      @Nullable public final String all()
      Memory consumed by indexing requests in the coordinating, primary, or replica stage.

      API name: all

    • allInBytes

      @Nullable public final Long allInBytes()
      Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.

      API name: all_in_bytes

    • combinedCoordinatingAndPrimary

      @Nullable public final String combinedCoordinatingAndPrimary()
      Memory consumed by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.

      API name: combined_coordinating_and_primary

    • combinedCoordinatingAndPrimaryInBytes

      @Nullable public final Long combinedCoordinatingAndPrimaryInBytes()
      Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.

      API name: combined_coordinating_and_primary_in_bytes

    • coordinating

      @Nullable public final String coordinating()
      Memory consumed by indexing requests in the coordinating stage.

      API name: coordinating

    • coordinatingInBytes

      @Nullable public final Long coordinatingInBytes()
      Memory consumed, in bytes, by indexing requests in the coordinating stage.

      API name: coordinating_in_bytes

    • primary

      @Nullable public final String primary()
      Memory consumed by indexing requests in the primary stage.

      API name: primary

    • primaryInBytes

      @Nullable public final Long primaryInBytes()
      Memory consumed, in bytes, by indexing requests in the primary stage.

      API name: primary_in_bytes

    • replica

      @Nullable public final String replica()
      Memory consumed by indexing requests in the replica stage.

      API name: replica

    • replicaInBytes

      @Nullable public final Long replicaInBytes()
      Memory consumed, in bytes, by indexing requests in the replica stage.

      API name: replica_in_bytes

    • coordinatingRejections

      @Nullable public final Long coordinatingRejections()
      Number of indexing requests rejected in the coordinating stage.

      API name: coordinating_rejections

    • primaryRejections

      @Nullable public final Long primaryRejections()
      Number of indexing requests rejected in the primary stage.

      API name: primary_rejections

    • replicaRejections

      @Nullable public final Long replicaRejections()
      Number of indexing requests rejected in the replica stage.

      API name: replica_rejections

    • 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
    • setupPressureMemoryDeserializer

      protected static void setupPressureMemoryDeserializer(ObjectDeserializer<PressureMemory.Builder> op)