public static class OsStats.Mem extends java.lang.Object implements Streamable
Constructor and Description |
---|
Mem() |
Modifier and Type | Method and Description |
---|---|
ByteSizeValue |
getFree() |
short |
getFreePercent() |
ByteSizeValue |
getTotal() |
ByteSizeValue |
getUsed() |
short |
getUsedPercent() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static OsStats.Mem |
readMem(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public static OsStats.Mem readMem(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
public ByteSizeValue getTotal()
public ByteSizeValue getUsed()
public short getUsedPercent()
public ByteSizeValue getFree()
public short getFreePercent()