public static class OsStats.Swap extends Object implements Streamable, Serializable
| Constructor and Description |
|---|
Swap() |
| Modifier and Type | Method and Description |
|---|---|
ByteSizeValue |
free() |
ByteSizeValue |
getFree() |
ByteSizeValue |
getUsed() |
void |
readFrom(StreamInput in) |
static OsStats.Swap |
readSwap(StreamInput in) |
ByteSizeValue |
used() |
void |
writeTo(StreamOutput out) |
public ByteSizeValue free()
public ByteSizeValue getFree()
public ByteSizeValue used()
public ByteSizeValue getUsed()
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–2016. All rights reserved.