public static class OsStats.Mem extends 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) |
static OsStats.Mem |
readMem(StreamInput in) |
void |
writeTo(StreamOutput out) |
public static OsStats.Mem readMem(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public ByteSizeValue getTotal()
public ByteSizeValue getUsed()
public short getUsedPercent()
public ByteSizeValue getFree()
public short getFreePercent()
Copyright © 2009–2016. All rights reserved.