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 class
JvmStats.Builder
Builder forJvmStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<JvmStats>
_DESERIALIZER
Json deserializer forJvmStats
-
Method Summary
Modifier and Type Method Description java.lang.String
heapMax()
Maximum amount of memory available for use by the heap.int
heapMaxInBytes()
Required - Maximum amount of memory, in bytes, available for use by the heap.java.lang.String
javaInference()
Amount of Java heap currently being used for caching inference models.int
javaInferenceInBytes()
Required - Amount of Java heap, in bytes, currently being used for caching inference models.java.lang.String
javaInferenceMax()
Maximum amount of Java heap to be used for caching inference models.int
javaInferenceMaxInBytes()
Required - Maximum amount of Java heap, in bytes, to be used for caching inference models.static JvmStats
of(java.util.function.Function<JvmStats.Builder,ObjectBuilder<JvmStats>> 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
setupJvmStatsDeserializer(ObjectDeserializer<JvmStats.Builder> op)
java.lang.String
toString()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupJvmStatsDeserializer
-