public class OsStats extends Objectimplements Streamable , Serializable , ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
OsStats
|
static class |
OsStats
|
static class |
OsStats
|
ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params | Modifier and Type | Field and Description |
|---|---|
static double[] |
EMPTY_LOAD
|
EMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
OsStats |
cpu()
|
OsStats |
getCpu()
|
double[] |
getLoadAverage()
|
OsStats |
getMem()
|
OsStats |
getSwap()
|
long |
getTimestamp()
|
TimeValue |
getUptime()
|
double[] |
loadAverage()
|
OsStats |
mem()
|
void |
readFrom(StreamInput
|
static OsStats |
readOsStats(StreamInput
|
OsStats |
swap()
|
long |
timestamp()
|
XContentBuilder |
toXContent(XContentBuilder
|
TimeValue |
uptime()
|
void |
writeTo(StreamOutput
|
public long timestamp()
public long getTimestamp()
public double[] loadAverage()
public double[] getLoadAverage()
public TimeValueuptime()
public TimeValuegetUptime()
public OsStats.Cpu cpu()
public OsStats.Cpu getCpu()
public OsStats.Mem mem()
public OsStats.Mem getMem()
public OsStats.Swap swap()
public OsStats.Swap getSwap()
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException
public static OsStatsreadOsStats(StreamInput in) throws IOException
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
IOException