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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static JvmStats.Mem readMem(StreamInput in) throws IOException
IOException
public Iterator<JvmStats.MemoryPool> iterator()
iterator
in interface Iterable<JvmStats.MemoryPool>
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public ByteSizeValue getHeapCommitted()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public short getHeapUsedPercent()
public ByteSizeValue getNonHeapCommitted()
public ByteSizeValue getNonHeapUsed()
Copyright © 2009–2016. All rights reserved.