public static class ClusterStatsNodes.OsStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
ClusterStatsNodes.OsStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeInfoStats(NodeInfo nodeInfo,
NodeStats nodeStats) |
int |
getAllocatedProcessors() |
ByteSizeValue |
getAvailableMemory() |
int |
getAvailableProcessors() |
void |
readFrom(StreamInput in) |
static ClusterStatsNodes.OsStats |
readOsStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public int getAvailableProcessors()
public int getAllocatedProcessors()
public ByteSizeValue getAvailableMemory()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic static ClusterStatsNodes.OsStats readOsStats(StreamInput in) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.