public class OsStats extends Object implements Streamable, ToXContent
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
OsStats.Mem |
static class |
OsStats.Swap |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
Short |
getCpuPercent() |
double |
getLoadAverage() |
OsStats.Mem |
getMem() |
OsStats.Swap |
getSwap() |
long |
getTimestamp() |
void |
readFrom(StreamInput in) |
static OsStats |
readOsStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long getTimestamp()
public Short getCpuPercent()
public double getLoadAverage()
public OsStats.Mem getMem()
public OsStats.Swap getSwap()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static OsStats readOsStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.