org.elasticsearch.monitor.os
Class OsStats.Mem
java.lang.Object
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
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 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()