Package org.elasticsearch.monitor.jvm
Class JvmStats.MemoryPool
java.lang.Object
org.elasticsearch.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.elasticsearch.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)
MemoryPool(StreamInput in)
-
Method Summary
Modifier and Type Method Description ByteSizeValue
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) -
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
-