Class MemoryStatsBase
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
ExtendedMemoryStats,MemoryStats
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class MemoryStatsBase
extends Object
implements PlainJsonSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMemoryStatsBase(MemoryStatsBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal Stringfree()Amount of free physical memory.final LongAmount of free physical memory in bytes.inthashCode()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends MemoryStatsBase.AbstractBuilder<BuilderT>>
voidsetupMemoryStatsBaseDeserializer(ObjectDeserializer<BuilderT> op) final Stringtotal()Total amount of physical memory.final LongTotal amount of physical memory in bytes.final Stringused()Amount of used physical memory.final LongAmount of used physical memory in bytes.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
MemoryStatsBase
-
-
Method Details
-
free
Amount of free physical memory.API name:
free -
freeInBytes
Amount of free physical memory in bytes.API name:
free_in_bytes -
total
Total amount of physical memory.API name:
total -
totalInBytes
Total amount of physical memory in bytes.API name:
total_in_bytes -
used
Amount of used physical memory.API name:
used -
usedInBytes
Amount of used physical memory in bytes.API name:
used_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMemoryStatsBaseDeserializer
protected static <BuilderT extends MemoryStatsBase.AbstractBuilder<BuilderT>> void setupMemoryStatsBaseDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-