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 class
Pool.Builder
Builder forPool
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Pool>
_DESERIALIZER
Json deserializer forPool
-
Method Summary
Modifier and Type Method Description java.lang.Long
maxInBytes()
API name:max_in_bytes
static Pool
of(java.util.function.Function<Pool.Builder,ObjectBuilder<Pool>> fn)
java.lang.Long
peakMaxInBytes()
API name:peak_max_in_bytes
java.lang.Long
peakUsedInBytes()
API name:peak_used_in_bytes
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupPoolDeserializer(ObjectDeserializer<Pool.Builder> op)
java.lang.String
toString()
java.lang.Long
usedInBytes()
API name:used_in_bytes
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupPoolDeserializer
-