java.lang.Iterable<JvmStats.MemoryPool>
, Writeable
public static class JvmStats.Mem extends java.lang.Object implements Writeable, java.lang.Iterable<JvmStats.MemoryPool>
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
Mem(long heapCommitted,
long heapUsed,
long heapMax,
long nonHeapCommitted,
long nonHeapUsed,
java.util.List<JvmStats.MemoryPool> pools) |
|
Mem(StreamInput in) |
Modifier and Type | Method | Description |
---|---|---|
ByteSizeValue |
getHeapCommitted() |
|
ByteSizeValue |
getHeapMax() |
returns the maximum heap size.
|
ByteSizeValue |
getHeapUsed() |
|
short |
getHeapUsedPercent() |
returns the heap usage in percent.
|
ByteSizeValue |
getNonHeapCommitted() |
|
ByteSizeValue |
getNonHeapUsed() |
|
java.util.Iterator<JvmStats.MemoryPool> |
iterator() |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
public Mem(long heapCommitted, long heapUsed, long heapMax, long nonHeapCommitted, long nonHeapUsed, java.util.List<JvmStats.MemoryPool> pools)
public Mem(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public java.util.Iterator<JvmStats.MemoryPool> iterator()
iterator
in interface java.lang.Iterable<JvmStats.MemoryPool>
public ByteSizeValue getHeapCommitted()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public short getHeapUsedPercent()
public ByteSizeValue getNonHeapCommitted()
public ByteSizeValue getNonHeapUsed()