Class MemoryStats
java.lang.Object
co.elastic.clients.elasticsearch.nodes.MemoryStats
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
ExtendedMemoryStats
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<MemoryStats>
Json deserializer forMemoryStats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Long
If the amount of physical memory has been overridden using thees
.total_memory_bytes
system property then this reports the overridden value in bytes.final Long
Amount of free physical memory in bytes.static MemoryStats
final String
resident()
API name:resident
final Long
API name:resident_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 <BuilderT extends MemoryStats.AbstractBuilder<BuilderT>>
voidsetupMemoryStatsDeserializer
(ObjectDeserializer<BuilderT> op) final String
share()
API name:share
final Long
API name:share_in_bytes
toString()
final Long
Total amount of physical memory in bytes.final String
API name:total_virtual
final Long
API name:total_virtual_in_bytes
final Long
Amount of used physical memory in bytes.
-
Field Details
-
_DESERIALIZER
Json deserializer forMemoryStats
-
-
Constructor Details
-
MemoryStats
-
-
Method Details
-
memoryStatsOf
public static MemoryStats memoryStatsOf(Function<MemoryStats.Builder, ObjectBuilder<MemoryStats>> fn) -
adjustedTotalInBytes
If the amount of physical memory has been overridden using thees
.total_memory_bytes
system property then this reports the overridden value in bytes. Otherwise it reports the same value astotal_in_bytes
.API name:
adjusted_total_in_bytes
-
resident
API name:resident
-
residentInBytes
API name:resident_in_bytes
-
totalVirtual
API name:total_virtual
-
totalVirtualInBytes
API name:total_virtual_in_bytes
-
totalInBytes
Total amount of physical memory in bytes.API name:
total_in_bytes
-
freeInBytes
Amount of free physical memory in bytes.API name:
free_in_bytes
-
usedInBytes
Amount of used physical memory in bytes.API name:
used_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMemoryStatsDeserializer
protected static <BuilderT extends MemoryStats.AbstractBuilder<BuilderT>> void setupMemoryStatsDeserializer(ObjectDeserializer<BuilderT> op)
-