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