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

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

  • Method Details

    • of

      public static Pool of(Function<Pool.Builder,ObjectBuilder<Pool>> fn)
    • lastGcStats

      @Nullable public final LastGcStats lastGcStats()
      Most recent GC cycle stats for a particular memory pool.

      API name: last_gc_stats

    • max

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

      API name: max

    • maxInBytes

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

      API name: max_in_bytes

    • peakMax

      @Nullable public final String peakMax()
      Largest amount of memory historically used by the heap.

      API name: peak_max

    • peakMaxInBytes

      @Nullable public final Long peakMaxInBytes()
      Largest amount of memory, in bytes, historically used by the heap.

      API name: peak_max_in_bytes

    • peakUsed

      @Nullable public final String peakUsed()
      Largest amount of memory historically used by the heap.

      API name: peak_used

    • peakUsedInBytes

      @Nullable public final Long peakUsedInBytes()
      Largest amount of memory, in bytes, historically used by the heap.

      API name: peak_used_in_bytes

    • used

      @Nullable public final String used()
      Memory used by the heap.

      API name: used

    • usedInBytes

      @Nullable public final Long usedInBytes()
      Memory, in bytes, used by the heap.

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

      @Nonnull public Pool.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<Pool.Builder,Pool>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static Pool.Builder builder()
    • setupPoolDeserializer

      protected static void setupPoolDeserializer(ObjectDeserializer<Pool.Builder> op)
    • hashCode

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

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