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
  • Field Details

  • 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupJvmStatsDeserializer

      protected static void setupJvmStatsDeserializer​(ObjectDeserializer<JvmStats.Builder> op)