public static class OsStats.Swap extends java.lang.Object implements Streamable
Constructor and Description |
---|
Swap() |
Modifier and Type | Method and Description |
---|---|
ByteSizeValue |
getFree() |
ByteSizeValue |
getTotal() |
ByteSizeValue |
getUsed() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static OsStats.Swap |
readSwap(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public ByteSizeValue getFree()
public ByteSizeValue getUsed()
public ByteSizeValue getTotal()
public static OsStats.Swap readSwap(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException