Class Pool
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Pool
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Pool.Builder,Pool>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Pool
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Pool.Builder,Pool>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Pool.Builderbuilder()booleaninthashCode()final LastGcStatsMost recent GC cycle stats for a particular memory pool.final Stringmax()Maximum amount of memory available for use by the heap.final LongMaximum amount of memory, in bytes, available for use by the heap.static Poolof(Function<Pool.Builder, ObjectBuilder<Pool>> fn) final StringpeakMax()Largest amount of memory historically used by the heap.final LongLargest amount of memory, in bytes, historically used by the heap.final StringpeakUsed()Largest amount of memory historically used by the heap.final LongLargest amount of memory, in bytes, historically used by the heap.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringused()Memory used by the heap.final LongMemory, in bytes, used by the heap.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forPool
-
-
Method Details
-
of
-
lastGcStats
Most recent GC cycle stats for a particular memory pool.API name:
last_gc_stats -
max
Maximum amount of memory available for use by the heap.API name:
max -
maxInBytes
Maximum amount of memory, in bytes, available for use by the heap.API name:
max_in_bytes -
peakMax
Largest amount of memory historically used by the heap.API name:
peak_max -
peakMaxInBytes
Largest amount of memory, in bytes, historically used by the heap.API name:
peak_max_in_bytes -
peakUsed
Largest amount of memory historically used by the heap.API name:
peak_used -
peakUsedInBytes
Largest amount of memory, in bytes, historically used by the heap.API name:
peak_used_in_bytes -
used
Memory used by the heap.API name:
used -
usedInBytes
Memory, in bytes, used by the heap.API name:
used_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Pool.Builder,Pool> - Returns:
- a new builder instance.
-
builder
-
setupPoolDeserializer
-
hashCode
public int hashCode() -
equals
-