Package org.opensearch.monitor.jvm
Class JvmStats.MemoryPoolGcStats
java.lang.Object
org.opensearch.monitor.jvm.JvmStats.MemoryPoolGcStats
- All Implemented Interfaces:
Writeable
- Enclosing class:
- JvmStats
public static class JvmStats.MemoryPoolGcStats extends java.lang.Object implements Writeable
Stores the memory usage after the Java virtual machine
most recently expended effort in recycling unused objects
in particular memory pool.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description MemoryPoolGcStats(long used, long max)
MemoryPoolGcStats(StreamInput in)
-
Method Summary
Modifier and Type Method Description ByteSizeValue
getMax()
short
getUsagePercent()
ByteSizeValue
getUsed()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
MemoryPoolGcStats
public MemoryPoolGcStats(long used, long max) -
MemoryPoolGcStats
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getUsed
-
getMax
-
getUsagePercent
public short getUsagePercent()
-