Class NodeBufferPool
- java.lang.Object
-
- org.opensearch.client.opensearch.nodes.NodeBufferPool
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()Required - 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)longtotalCapacityInBytes()Required - API name:total_capacity_in_byteslongusedInBytes()Required - API name:used_in_bytes
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<NodeBufferPool> _DESERIALIZER
Json deserializer forNodeBufferPool
-
-
Method Detail
-
of
public static NodeBufferPool of(java.util.function.Function<NodeBufferPool.Builder,ObjectBuilder<NodeBufferPool>> fn)
-
count
public final long count()
Required - API name:count
-
totalCapacityInBytes
public final long totalCapacityInBytes()
Required - API name:total_capacity_in_bytes
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupNodeBufferPoolDeserializer
protected static void setupNodeBufferPoolDeserializer(ObjectDeserializer<NodeBufferPool.Builder> op)
-
-