org.elasticsearch.monitor.jvm
Class JvmStats.MemoryPool

java.lang.Object
  extended by 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

Constructor Summary
JvmStats.MemoryPool(String name, long used, long max, long peakUsed, long peakMax)
           
 
Method Summary
 ByteSizeValue getMax()
           
 String getName()
           
 ByteSizeValue getPeakMax()
           
 ByteSizeValue getPeakUsed()
           
 ByteSizeValue getUsed()
           
 ByteSizeValue max()
           
 String name()
           
 ByteSizeValue peakMax()
           
 ByteSizeValue peakUsed()
           
 void readFrom(StreamInput in)
           
static JvmStats.MemoryPool readMemoryPool(StreamInput in)
           
 ByteSizeValue used()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmStats.MemoryPool

public JvmStats.MemoryPool(String name,
                           long used,
                           long max,
                           long peakUsed,
                           long peakMax)
Method Detail

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.