public static class JvmStats.MemoryPool extends java.lang.Object implements Streamable
| Constructor and Description |
|---|
MemoryPool(java.lang.String name,
long used,
long max,
long peakUsed,
long peakMax) |
| Modifier and Type | Method and Description |
|---|---|
ByteSizeValue |
getMax() |
java.lang.String |
getName() |
ByteSizeValue |
getPeakMax() |
ByteSizeValue |
getPeakUsed() |
ByteSizeValue |
getUsed() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static JvmStats.MemoryPool |
readMemoryPool(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public MemoryPool(java.lang.String name,
long used,
long max,
long peakUsed,
long peakMax)
public static JvmStats.MemoryPool readMemoryPool(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getName()
public ByteSizeValue getUsed()
public ByteSizeValue getMax()
public ByteSizeValue getPeakUsed()
public ByteSizeValue getPeakMax()
public void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface Streamablejava.io.IOException