public static class OsStats.Swap extends Object implements Streamable
| Constructor and Description |
|---|
OsStats.Swap() |
| Modifier and Type | Method and Description |
|---|---|
ByteSizeValue |
getFree() |
ByteSizeValue |
getTotal() |
ByteSizeValue |
getUsed() |
void |
readFrom(StreamInput in) |
static OsStats.Swap |
readSwap(StreamInput in) |
void |
writeTo(StreamOutput out) |
public ByteSizeValue getFree()
public ByteSizeValue getUsed()
public ByteSizeValue getTotal()
public static OsStats.Swap readSwap(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2017. All rights reserved.