public static class ClusterStatsNodes.OsStats extends Objectimplements ToXContent , Streamable
ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params EMPTY_PARAMS| Constructor and Description |
|---|
OsStats()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeInfo(NodeInfo
|
ByteSizeValue |
getAvailableMemory()
|
int |
getAvailableProcessors()
|
<any> |
getCpus()
|
void |
readFrom(StreamInput
|
static ClusterStatsNodes |
readOsStats(StreamInput
|
XContentBuilder |
toXContent(XContentBuilder
|
void |
writeTo(StreamOutput
|
public void addNodeInfo(NodeInfonodeInfo)
public int getAvailableProcessors()
public ByteSizeValuegetAvailableMemory()
public <any> getCpus()
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
IOException
public static ClusterStatsNodes.OsStats readOsStats(StreamInput in) throws IOException
IOException
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException