public static class JvmStats.Mem extends Object implements Streamable, 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() |
Iterator<JvmStats.MemoryPool> |
iterator() |
void |
readFrom(StreamInput in) |
static JvmStats.Mem |
readMem(StreamInput in) |
void |
writeTo(StreamOutput out) |
public static JvmStats.Mem readMem(StreamInput in) throws IOException
IOExceptionpublic Iterator<JvmStats.MemoryPool> iterator()
iterator in interface Iterable<JvmStats.MemoryPool>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic ByteSizeValue getHeapCommitted()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public short getHeapUsedPercent()
public ByteSizeValue getNonHeapCommitted()
public ByteSizeValue getNonHeapUsed()
Copyright © 2009–2017. All rights reserved.