java.lang.Object
co.elastic.clients.elasticsearch.nodes.Jvm
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Jvm extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

      public static Jvm of(Function<Jvm.Builder,ObjectBuilder<Jvm>> fn)
    • bufferPools

      public final Map<String,NodeBufferPool> bufferPools()
      Contains statistics about JVM buffer pools for the node.

      API name: buffer_pools

    • classes

      @Nullable public final JvmClasses classes()
      Contains statistics about classes loaded by JVM for the node.

      API name: classes

    • gc

      @Nullable public final GarbageCollector gc()
      Contains statistics about JVM garbage collectors for the node.

      API name: gc

    • mem

      @Nullable public final JvmMemoryStats mem()
      Contains JVM memory usage statistics for the node.

      API name: mem

    • threads

      @Nullable public final JvmThreads threads()
      Contains statistics about JVM thread usage for the node.

      API name: threads

    • timestamp

      @Nullable public final Long timestamp()
      Last time JVM statistics were refreshed.

      API name: timestamp

    • uptime

      @Nullable public final String uptime()
      Human-readable JVM uptime. Only returned if the human query parameter is true.

      API name: uptime

    • uptimeInMillis

      @Nullable public final Long uptimeInMillis()
      JVM uptime in milliseconds.

      API name: uptime_in_millis

    • 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 String toString()
      Overrides:
      toString in class Object
    • setupJvmDeserializer

      protected static void setupJvmDeserializer(ObjectDeserializer<Jvm.Builder> op)