Class ExtendedMemoryStats
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase
org.opensearch.client.opensearch.nodes.stats.ExtendedMemoryStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ExtendedMemoryStats.Builder,ExtendedMemoryStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ExtendedMemoryStats
extends MemoryStatsBase
implements ToCopyableBuilder<ExtendedMemoryStats.Builder,ExtendedMemoryStats>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase
MemoryStatsBase.AbstractBuilder<BuilderT extends MemoryStatsBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExtendedMemoryStats> Json deserializer forExtendedMemoryStats -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtendedMemoryStats.Builderbuilder()booleanfinal DoublePercentage of free memory.inthashCode()static ExtendedMemoryStatsprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final DoublePercentage of used memory.Methods inherited from class org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase
free, freeInBytes, serialize, setupMemoryStatsBaseDeserializer, total, totalInBytes, used, usedInBytesMethods 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 forExtendedMemoryStats
-
-
Method Details
-
of
public static ExtendedMemoryStats of(Function<ExtendedMemoryStats.Builder, ObjectBuilder<ExtendedMemoryStats>> fn) -
freePercent
Percentage of free memory.API name:
free_percent -
usedPercent
Percentage of used memory.API name:
used_percent -
serializeInternal
- Overrides:
serializeInternalin classMemoryStatsBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExtendedMemoryStats.Builder,ExtendedMemoryStats> - Returns:
- a new builder instance.
-
builder
-
setupExtendedMemoryStatsDeserializer
protected static void setupExtendedMemoryStatsDeserializer(ObjectDeserializer<ExtendedMemoryStats.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classMemoryStatsBase
-
equals
- Overrides:
equalsin classMemoryStatsBase
-