public static class JvmStats.MemoryPool extends Object implements Streamable
Constructor and Description |
---|
JvmStats.MemoryPool(String name,
long used,
long max,
long peakUsed,
long peakMax) |
Modifier and Type | Method and Description |
---|---|
ByteSizeValue |
getMax() |
String |
getName() |
ByteSizeValue |
getPeakMax() |
ByteSizeValue |
getPeakUsed() |
ByteSizeValue |
getUsed() |
void |
readFrom(StreamInput in) |
static JvmStats.MemoryPool |
readMemoryPool(StreamInput in) |
void |
writeTo(StreamOutput out) |
public JvmStats.MemoryPool(String name, long used, long max, long peakUsed, long peakMax)
public static JvmStats.MemoryPool readMemoryPool(StreamInput in) throws IOException
IOException
public String getName()
public ByteSizeValue getUsed()
public ByteSizeValue getMax()
public ByteSizeValue getPeakUsed()
public ByteSizeValue getPeakMax()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2016. All rights reserved.