Package org.elasticsearch.monitor.jvm
Class JvmInfo.Mem
- java.lang.Object
-
- org.elasticsearch.monitor.jvm.JvmInfo.Mem
-
-
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 Mem(long heapInit, long heapMax, long nonHeapInit, long nonHeapMax, long directMemoryMax)
Mem(StreamInput in)
-
Method Summary
Modifier and Type Method Description ByteSizeValue
getDirectMemoryMax()
ByteSizeValue
getHeapInit()
ByteSizeValue
getHeapMax()
ByteSizeValue
getNonHeapInit()
ByteSizeValue
getNonHeapMax()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
-
-
Constructor Detail
-
Mem
public Mem(long heapInit, long heapMax, long nonHeapInit, long nonHeapMax, long directMemoryMax)
-
Mem
public Mem(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.
-
getHeapInit
public ByteSizeValue getHeapInit()
-
getHeapMax
public ByteSizeValue getHeapMax()
-
getNonHeapInit
public ByteSizeValue getNonHeapInit()
-
getNonHeapMax
public ByteSizeValue getNonHeapMax()
-
getDirectMemoryMax
public ByteSizeValue getDirectMemoryMax()
-
-