public static class JvmStats.Mem extends java.lang.Object implements Streamable, java.lang.Iterable<JvmStats.MemoryPool>
Modifier and Type | Method and 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 |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static JvmStats.Mem |
readMem(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public static JvmStats.Mem readMem(StreamInput in) throws java.io.IOException
java.io.IOException
public java.util.Iterator<JvmStats.MemoryPool> iterator()
iterator
in interface java.lang.Iterable<JvmStats.MemoryPool>
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException
public ByteSizeValue getHeapCommitted()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public short getHeapUsedPercent()
public ByteSizeValue getNonHeapCommitted()
public ByteSizeValue getNonHeapUsed()