Package org.elasticsearch.monitor.jvm
Class JvmStats.Mem
org.elasticsearch.monitor.jvm.JvmStats.Mem
- All Implemented Interfaces:
<JvmStats.MemoryPool>
,Writeable
- Enclosing class:
- JvmStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionMem(long heapCommitted, long heapUsed, long heapMax, long nonHeapCommitted, long nonHeapUsed, <JvmStats.MemoryPool> pools)
Mem(StreamInput in)
-
Method Summary
Modifier and TypeMethodDescriptionreturns the maximum heap size.short
returns the heap usage in percent.iterator()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface java.lang.
,
-
Constructor Details
-
Mem
public Mem(long heapCommitted, long heapUsed, long heapMax, long nonHeapCommitted, long nonHeapUsed, <JvmStats.MemoryPool> pools) -
Mem
- Throws:
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
iterator
- Specified by:
in interface
<JvmStats.MemoryPool>
-
getHeapCommitted
-
getHeapUsed
-
getHeapMax
returns the maximum heap size. 0 bytes signals unknown. -
getHeapUsedPercent
public short getHeapUsedPercent()returns the heap usage in percent. -1 signals unknown. -
getNonHeapCommitted
-
getNonHeapUsed
-