Class JvmStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.get_memory_stats.JvmStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class JvmStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJvmStats.BuilderBuilder forJvmStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<JvmStats>_DESERIALIZERJson deserializer forJvmStats -
Method Summary
Modifier and Type Method Description java.lang.StringheapMax()Maximum amount of memory available for use by the heap.intheapMaxInBytes()Required - Maximum amount of memory, in bytes, available for use by the heap.java.lang.StringjavaInference()Amount of Java heap currently being used for caching inference models.intjavaInferenceInBytes()Required - Amount of Java heap, in bytes, currently being used for caching inference models.java.lang.StringjavaInferenceMax()Maximum amount of Java heap to be used for caching inference models.intjavaInferenceMaxInBytes()Required - Maximum amount of Java heap, in bytes, to be used for caching inference models.static JvmStatsof(java.util.function.Function<JvmStats.Builder,ObjectBuilder<JvmStats>> 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 voidsetupJvmStatsDeserializer(ObjectDeserializer<JvmStats.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forJvmStats
-
-
Method Details
-
of
public static JvmStats of(java.util.function.Function<JvmStats.Builder,ObjectBuilder<JvmStats>> fn) -
heapMax
@Nullable public final java.lang.String heapMax()Maximum amount of memory available for use by the heap.API name:
heap_max -
heapMaxInBytes
public final int heapMaxInBytes()Required - Maximum amount of memory, in bytes, available for use by the heap.API name:
heap_max_in_bytes -
javaInference
@Nullable public final java.lang.String javaInference()Amount of Java heap currently being used for caching inference models.API name:
java_inference -
javaInferenceInBytes
public final int javaInferenceInBytes()Required - Amount of Java heap, in bytes, currently being used for caching inference models.API name:
java_inference_in_bytes -
javaInferenceMax
@Nullable public final java.lang.String javaInferenceMax()Maximum amount of Java heap to be used for caching inference models.API name:
java_inference_max -
javaInferenceMaxInBytes
public final int javaInferenceMaxInBytes()Required - Maximum amount of Java heap, in bytes, to be used for caching inference models.API name:
java_inference_max_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupJvmStatsDeserializer
-