Package org.opensearch.monitor.jvm
Class JvmStats.MemoryPool
java.lang.Object
org.opensearch.monitor.jvm.JvmStats.MemoryPool
- All Implemented Interfaces:
Writeable
- Enclosing class:
- JvmStats
public static class JvmStats.MemoryPool extends java.lang.Object implements Writeable
-
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 MemoryPool(java.lang.String name, long used, long max, long peakUsed, long peakMax, JvmStats.MemoryPoolGcStats lastGcStats)
MemoryPool(StreamInput in)
-
Method Summary
Modifier and Type Method Description JvmStats.MemoryPoolGcStats
getLastGcStats()
Returns the heap usage after last garbage collection cycleByteSizeValue
getMax()
java.lang.String
getName()
ByteSizeValue
getPeakMax()
ByteSizeValue
getPeakUsed()
ByteSizeValue
getUsed()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
MemoryPool
public MemoryPool(java.lang.String name, long used, long max, long peakUsed, long peakMax, JvmStats.MemoryPoolGcStats lastGcStats) -
MemoryPool
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getName
public java.lang.String getName() -
getUsed
-
getMax
-
getPeakUsed
-
getPeakMax
-
getLastGcStats
Returns the heap usage after last garbage collection cycle
-