public static class ClusterStatsNodes.OsStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
OsStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeInfo(NodeInfo nodeInfo) |
ByteSizeValue |
getAvailableMemory() |
int |
getAvailableProcessors() |
com.carrotsearch.hppc.ObjectIntOpenHashMap<OsInfo.Cpu> |
getCpus() |
void |
readFrom(StreamInput in) |
static ClusterStatsNodes.OsStats |
readOsStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public void addNodeInfo(NodeInfo nodeInfo)
public int getAvailableProcessors()
public ByteSizeValue getAvailableMemory()
public com.carrotsearch.hppc.ObjectIntOpenHashMap<OsInfo.Cpu> getCpus()
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–2016. All rights reserved.