Class MemStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.get_memory_stats.MemStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MemStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MemStats.Builder
Builder forMemStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MemStats>
_DESERIALIZER
Json deserializer forMemStats
-
Method Summary
Modifier and Type Method Description java.lang.String
adjustedTotal()
If the amount of physical memory has been overridden using the es.total_memory_bytes system property then this reports the overridden value.int
adjustedTotalInBytes()
Required - If the amount of physical memory has been overridden using thees.total_memory_bytes
system property then this reports the overridden value in bytes.MemMlStats
ml()
Required - Contains statistics about machine learning use of native memory on the node.static MemStats
of(java.util.function.Function<MemStats.Builder,ObjectBuilder<MemStats>> fn)
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
setupMemStatsDeserializer(ObjectDeserializer<MemStats.Builder> op)
java.lang.String
toString()
java.lang.String
total()
Total amount of physical memory.int
totalInBytes()
Required - Total amount of physical memory in bytes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMemStats
-
-
Method Details
-
of
public static MemStats of(java.util.function.Function<MemStats.Builder,ObjectBuilder<MemStats>> fn) -
adjustedTotal
@Nullable public final java.lang.String adjustedTotal()If the amount of physical memory has been overridden using the es.total_memory_bytes system property then this reports the overridden value. Otherwise it reports the same value as total.API name:
adjusted_total
-
adjustedTotalInBytes
public final int adjustedTotalInBytes()Required - 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
-
total
@Nullable public final java.lang.String total()Total amount of physical memory.API name:
total
-
totalInBytes
public final int totalInBytes()Required - Total amount of physical memory in bytes.API name:
total_in_bytes
-
ml
Required - Contains statistics about machine learning use of native memory on the node.API name:
ml
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupMemStatsDeserializer
-