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
-
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 -
Method Summary
Modifier and Type Method Description java.lang.Longcount()API name:countstatic NodeBufferPoolof(java.util.function.Function<NodeBufferPool.Builder,ObjectBuilder<NodeBufferPool>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeBufferPoolDeserializer(ObjectDeserializer<NodeBufferPool.Builder> op)java.lang.StringtoString()java.lang.StringtotalCapacity()API name:total_capacityjava.lang.LongtotalCapacityInBytes()API name:total_capacity_in_bytesjava.lang.Stringused()API name:usedjava.lang.LongusedInBytes()API name:used_in_bytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeBufferPool
-
-
Method Details
-
of
public static NodeBufferPool of(java.util.function.Function<NodeBufferPool.Builder,ObjectBuilder<NodeBufferPool>> fn) -
count
@Nullable public final java.lang.Long count()API name:count -
totalCapacity
@Nullable public final java.lang.String totalCapacity()API name:total_capacity -
totalCapacityInBytes
@Nullable public final java.lang.Long totalCapacityInBytes()API name:total_capacity_in_bytes -
used
@Nullable public final java.lang.String used()API name:used -
usedInBytes
@Nullable public final java.lang.Long usedInBytes()API name:used_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupNodeBufferPoolDeserializer
protected static void setupNodeBufferPoolDeserializer(ObjectDeserializer<NodeBufferPool.Builder> op)
-