org.elasticsearch.monitor.os
Class OsStats.Mem

java.lang.Object
  extended by org.elasticsearch.monitor.os.OsStats.Mem
All Implemented Interfaces:
java.io.Serializable, Streamable
Enclosing class:
OsStats

public static class OsStats.Mem
extends java.lang.Object
implements Streamable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
OsStats.Mem()
           
 
Method Summary
 SizeValue actualFree()
           
 SizeValue actualUsed()
           
 SizeValue free()
           
 short freePercent()
           
 SizeValue getActualFree()
           
 SizeValue getActualUsed()
           
 SizeValue getFree()
           
 short getFreePercent()
           
 SizeValue getUsed()
           
 short getUsedPercent()
           
 void readFrom(StreamInput in)
           
static OsStats.Mem readMem(StreamInput in)
           
 SizeValue used()
           
 short usedPercent()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsStats.Mem

public OsStats.Mem()
Method Detail

readMem

public static OsStats.Mem readMem(StreamInput in)
                           throws java.io.IOException
Throws:
java.io.IOException

readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Throws:
java.io.IOException

used

public SizeValue used()

getUsed

public SizeValue getUsed()

usedPercent

public short usedPercent()

getUsedPercent

public short getUsedPercent()

free

public SizeValue free()

getFree

public SizeValue getFree()

freePercent

public short freePercent()

getFreePercent

public short getFreePercent()

actualFree

public SizeValue actualFree()

getActualFree

public SizeValue getActualFree()

actualUsed

public SizeValue actualUsed()

getActualUsed

public SizeValue getActualUsed()