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 classMemStats.BuilderBuilder forMemStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MemStats>_DESERIALIZERJson deserializer forMemStats -
Method Summary
Modifier and Type Method Description java.lang.StringadjustedTotal()If the amount of physical memory has been overridden using the es.total_memory_bytes system property then this reports the overridden value.intadjustedTotalInBytes()Required - If the amount of physical memory has been overridden using thees.total_memory_bytessystem property then this reports the overridden value in bytes.MemMlStatsml()Required - Contains statistics about machine learning use of native memory on the node.static MemStatsof(java.util.function.Function<MemStats.Builder,ObjectBuilder<MemStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMemStatsDeserializer(ObjectDeserializer<MemStats.Builder> op)java.lang.StringtoString()java.lang.Stringtotal()Total amount of physical memory.inttotalInBytes()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_bytessystem 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupMemStatsDeserializer
-