Class JvmMemoryStats

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

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

  • Method Details

    • of

    • heapCommitted

      @Nullable public final String heapCommitted()
      Amount of memory available for use by the heap.

      API name: heap_committed

    • heapCommittedInBytes

      @Nullable public final Long heapCommittedInBytes()
      Amount of memory, in bytes, available for use by the heap.

      API name: heap_committed_in_bytes

    • heapMax

      @Nullable public final String heapMax()
      Maximum amount of memory available for use by the heap.

      API name: heap_max

    • heapMaxInBytes

      @Nullable public final Long heapMaxInBytes()
      Maximum amount of memory, in bytes, available for use by the heap.

      API name: heap_max_in_bytes

    • heapUsed

      @Nullable public final String heapUsed()
      Memory currently in use by the heap.

      API name: heap_used

    • heapUsedInBytes

      @Nullable public final Long heapUsedInBytes()
      Memory, in bytes, currently in use by the heap.

      API name: heap_used_in_bytes

    • heapUsedPercent

      @Nullable public final Double heapUsedPercent()
      Percentage of memory currently in use by the heap.

      API name: heap_used_percent

    • nonHeapCommitted

      @Nullable public final String nonHeapCommitted()
      Amount of non-heap memory available.

      API name: non_heap_committed

    • nonHeapCommittedInBytes

      @Nullable public final Long nonHeapCommittedInBytes()
      Amount of non-heap memory available, in bytes.

      API name: non_heap_committed_in_bytes

    • nonHeapUsed

      @Nullable public final String nonHeapUsed()
      Non-heap memory used.

      API name: non_heap_used

    • nonHeapUsedInBytes

      @Nullable public final Long nonHeapUsedInBytes()
      Non-heap memory used, in bytes.

      API name: non_heap_used_in_bytes

    • pools

      @Nonnull public final Map<String,Pool> pools()
      Contains statistics about heap memory usage for the node.

      API name: pools

    • 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 JvmMemoryStats.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<JvmMemoryStats.Builder,JvmMemoryStats>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static JvmMemoryStats.Builder builder()
    • setupJvmMemoryStatsDeserializer

      protected static void setupJvmMemoryStatsDeserializer(ObjectDeserializer<JvmMemoryStats.Builder> op)
    • hashCode

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

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