Class NodeBufferPool

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

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

  • Method Details

    • of

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

      public final long count()
      Required - API name: count
    • totalCapacity

      public final java.lang.String totalCapacity()
      Required - API name: total_capacity
    • totalCapacityInBytes

      public final long totalCapacityInBytes()
      Required - API name: total_capacity_in_bytes
    • used

      public final java.lang.String used()
      Required - API name: used
    • usedInBytes

      public final long usedInBytes()
      Required - 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)
    • setupNodeBufferPoolDeserializer

      protected static void setupNodeBufferPoolDeserializer​(ObjectDeserializer<NodeBufferPool.Builder> op)