Package org.elasticsearch.monitor.jvm
Class JvmStats.MemoryPool
- java.lang.Object
-
- org.elasticsearch.monitor.jvm.JvmStats.MemoryPool
-
-
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 ByteSizeValuegetMax()java.lang.StringgetName()ByteSizeValuegetPeakMax()ByteSizeValuegetPeakUsed()ByteSizeValuegetUsed()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
Constructor Detail
-
MemoryPool
public MemoryPool(java.lang.String name, long used, long max, long peakUsed, long peakMax)
-
MemoryPool
public MemoryPool(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.
-
getName
public java.lang.String getName()
-
getUsed
public ByteSizeValue getUsed()
-
getMax
public ByteSizeValue getMax()
-
getPeakUsed
public ByteSizeValue getPeakUsed()
-
getPeakMax
public ByteSizeValue getPeakMax()
-
-