Class JvmStats.MemoryPoolGcStats

java.lang.Object
org.opensearch.monitor.jvm.JvmStats.MemoryPoolGcStats
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
Enclosing class:
JvmStats

public static class JvmStats.MemoryPoolGcStats extends Object implements org.opensearch.core.common.io.stream.Writeable
Stores the memory usage after the Java virtual machine most recently expended effort in recycling unused objects in particular memory pool.
Opensearch.internal:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable

    org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryPoolGcStats(long used, long max)
     
    MemoryPoolGcStats(org.opensearch.core.common.io.stream.StreamInput in)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensearch.core.common.unit.ByteSizeValue
     
    short
     
    org.opensearch.core.common.unit.ByteSizeValue
     
    void
    writeTo(org.opensearch.core.common.io.stream.StreamOutput out)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MemoryPoolGcStats

      public MemoryPoolGcStats(long used, long max)
    • MemoryPoolGcStats

      public MemoryPoolGcStats(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Specified by:
      writeTo in interface org.opensearch.core.common.io.stream.Writeable
      Throws:
      IOException
    • getUsed

      public org.opensearch.core.common.unit.ByteSizeValue getUsed()
    • getMax

      public org.opensearch.core.common.unit.ByteSizeValue getMax()
    • getUsagePercent

      public short getUsagePercent()