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

@JsonpDeserializable
public class Pool
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

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

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

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

      @Nullable public final java.lang.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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupPoolDeserializer

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