Class Pool
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPool.BuilderBuilder forPool. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Pool>_DESERIALIZERJson deserializer forPool -
Method Summary
Modifier and Type Method Description java.lang.LongmaxInBytes()API name:max_in_bytesstatic Poolof(java.util.function.Function<Pool.Builder,ObjectBuilder<Pool>> fn)java.lang.LongpeakMaxInBytes()API name:peak_max_in_bytesjava.lang.LongpeakUsedInBytes()API name:peak_used_in_bytesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPoolDeserializer(ObjectDeserializer<Pool.Builder> op)java.lang.StringtoString()java.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 forPool
-
-
Method Details
-
of
-
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPoolDeserializer
-