Class ClusterJvmMemory

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterJvmMemory
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • heapMaxInBytes

      public final long heapMaxInBytes()
      Required - Maximum amount of memory, in bytes, available for use by the heap across all selected nodes.

      API name: heap_max_in_bytes

    • heapMax

      @Nullable public final String heapMax()
      Maximum amount of memory available for use by the heap across all selected nodes.

      API name: heap_max

    • heapUsedInBytes

      public final long heapUsedInBytes()
      Required - Memory, in bytes, currently in use by the heap across all selected nodes.

      API name: heap_used_in_bytes

    • heapUsed

      @Nullable public final String heapUsed()
      Memory currently in use by the heap across all selected nodes.

      API name: heap_used

    • 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
    • setupClusterJvmMemoryDeserializer

      protected static void setupClusterJvmMemoryDeserializer(ObjectDeserializer<ClusterJvmMemory.Builder> op)