public static class ClusterStatsNodes.ProcessStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
ProcessStats() |
Modifier and Type | Method and Description |
---|---|
void |
addNodeStats(NodeStats nodeStats) |
long |
getAvgOpenFileDescriptors() |
int |
getCpuPercent()
Cpu usage in percentages - 100 is 1 core.
|
long |
getMaxOpenFileDescriptors() |
long |
getMinOpenFileDescriptors() |
void |
readFrom(StreamInput in) |
static ClusterStatsNodes.ProcessStats |
readStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public void addNodeStats(NodeStats nodeStats)
public int getCpuPercent()
public long getAvgOpenFileDescriptors()
public long getMaxOpenFileDescriptors()
public long getMinOpenFileDescriptors()
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.ProcessStats readStats(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.