Class NodeBufferPool
java.lang.Object
co.elastic.clients.elasticsearch.nodes.NodeBufferPool
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class NodeBufferPool extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeBufferPool.BuilderBuilder forNodeBufferPool. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeBufferPool>_DESERIALIZERJson deserializer forNodeBufferPool -
Constructor Summary
Constructors Constructor Description NodeBufferPool(NodeBufferPool.Builder builder)NodeBufferPool(java.util.function.Function<NodeBufferPool.Builder,NodeBufferPool.Builder> fn) -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeBufferPoolDeserializer(DelegatingDeserializer<NodeBufferPool.Builder> op)java.lang.StringtotalCapacity()Required - API name:total_capacitylongtotalCapacityInBytes()Required - API name:total_capacity_in_bytesjava.lang.Stringused()Required - API name:usedlongusedInBytes()Required - API name:used_in_bytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeBufferPool
-
-
Constructor Details
-
NodeBufferPool
-
NodeBufferPool
public NodeBufferPool(java.util.function.Function<NodeBufferPool.Builder,NodeBufferPool.Builder> fn)
-
-
Method Details
-
count
public long count()Required - API name:count -
totalCapacity
public java.lang.String totalCapacity()Required - API name:total_capacity -
totalCapacityInBytes
public long totalCapacityInBytes()Required - API name:total_capacity_in_bytes -
used
public java.lang.String used()Required - API name:used -
usedInBytes
public long usedInBytes()Required - API name:used_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupNodeBufferPoolDeserializer
protected static void setupNodeBufferPoolDeserializer(DelegatingDeserializer<NodeBufferPool.Builder> op)
-