org.elasticsearch.monitor.os
Class OsStats.Mem
java.lang.Object
org.elasticsearch.monitor.os.OsStats.Mem
- All Implemented Interfaces:
- Serializable, Streamable
- Enclosing class:
- OsStats
public static class OsStats.Mem
- 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 |
OsStats.Mem
public OsStats.Mem()
readMem
public static OsStats.Mem readMem(StreamInput in)
throws IOException
- Throws:
IOException
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
used
public ByteSizeValue used()
getUsed
public ByteSizeValue getUsed()
usedPercent
public short usedPercent()
getUsedPercent
public short getUsedPercent()
free
public ByteSizeValue free()
getFree
public ByteSizeValue getFree()
freePercent
public short freePercent()
getFreePercent
public short getFreePercent()
actualFree
public ByteSizeValue actualFree()
getActualFree
public ByteSizeValue getActualFree()
actualUsed
public ByteSizeValue actualUsed()
getActualUsed
public ByteSizeValue getActualUsed()
Copyright © 2009-2012. All Rights Reserved.