public static class ClusterStatsNodes.OsStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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 Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public static ClusterStatsNodes.OsStats readOsStats(StreamInput in) throws IOException
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.