org.elasticsearch.monitor.jvm
Class JvmStats.MemoryPool
java.lang.Object
org.elasticsearch.monitor.jvm.JvmStats.MemoryPool
- All Implemented Interfaces:
- Serializable, Streamable
- Enclosing class:
- JvmStats
public static class JvmStats.MemoryPool
- extends Object
- implements Streamable, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JvmStats.MemoryPool
public JvmStats.MemoryPool(String name,
long used,
long max,
long peakUsed,
long peakMax)
readMemoryPool
public static JvmStats.MemoryPool readMemoryPool(StreamInput in)
throws IOException
- Throws:
IOException
name
public String name()
getName
public String getName()
used
public ByteSizeValue used()
getUsed
public ByteSizeValue getUsed()
max
public ByteSizeValue max()
getMax
public ByteSizeValue getMax()
peakUsed
public ByteSizeValue peakUsed()
getPeakUsed
public ByteSizeValue getPeakUsed()
peakMax
public ByteSizeValue peakMax()
getPeakMax
public ByteSizeValue getPeakMax()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.