Class PressureMemory

java.lang.Object
org.opensearch.client.opensearch.nodes.stats.PressureMemory
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<PressureMemory.Builder,PressureMemory>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class PressureMemory extends Object implements PlainJsonSerializable, ToCopyableBuilder<PressureMemory.Builder,PressureMemory>
  • Field Details

  • Method Details

    • of

    • all

      @Nullable public final String all()
      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()
      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()
      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

    • coordinatingRejections

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

      API name: coordinating_rejections

    • primary

      @Nullable public final String primary()
      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

    • primaryRejections

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

      API name: primary_rejections

    • replica

      @Nullable public final String replica()
      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

    • 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)
    • toBuilder

      @Nonnull public PressureMemory.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<PressureMemory.Builder,PressureMemory>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static PressureMemory.Builder builder()
    • setupPressureMemoryDeserializer

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object