org.elasticsearch.monitor.os
Class OsStats.Swap
java.lang.Object
org.elasticsearch.monitor.os.OsStats.Swap
- All Implemented Interfaces:
- java.io.Serializable, Streamable
- Enclosing class:
- OsStats
public static class OsStats.Swap
- 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.Swap
public OsStats.Swap()
free
public ByteSizeValue free()
getFree
public ByteSizeValue getFree()
used
public ByteSizeValue used()
getUsed
public ByteSizeValue getUsed()
readSwap
public static OsStats.Swap readSwap(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