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
All Methods Instance Methods Concrete Methods 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 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:Writeable
Write 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()
-
-