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

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

  • Method Details

    • of

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

      @Nullable public final Long usedInBytes()
      API name: used_in_bytes
    • maxInBytes

      @Nullable public final Long maxInBytes()
      API name: max_in_bytes
    • peakUsedInBytes

      @Nullable public final Long peakUsedInBytes()
      API name: peak_used_in_bytes
    • peakMaxInBytes

      @Nullable public final Long peakMaxInBytes()
      API name: peak_max_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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupPoolDeserializer

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