Class MemoryStatsBase

java.lang.Object
org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable
Direct Known Subclasses:
ExtendedMemoryStats, MemoryStats

@Generated("org.opensearch.client.codegen.CodeGenerator") public abstract class MemoryStatsBase extends Object implements PlainJsonSerializable
  • Constructor Details

  • Method Details

    • free

      @Nullable public final String free()
      Amount of free physical memory.

      API name: free

    • freeInBytes

      @Nullable public final Long freeInBytes()
      Amount of free physical memory in bytes.

      API name: free_in_bytes

    • total

      @Nullable public final String total()
      Total amount of physical memory.

      API name: total

    • totalInBytes

      @Nullable public final Long totalInBytes()
      Total amount of physical memory in bytes.

      API name: total_in_bytes

    • used

      @Nullable public final String used()
      Amount of used physical memory.

      API name: used

    • usedInBytes

      @Nullable public final Long usedInBytes()
      Amount of used physical memory in bytes.

      API name: used_in_bytes

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

      protected static <BuilderT extends MemoryStatsBase.AbstractBuilder<BuilderT>> void setupMemoryStatsBaseDeserializer(ObjectDeserializer<BuilderT> op)
    • hashCode

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

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