public static class ClusterStatsNodes.JvmStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
void |
addNodeInfoStats(NodeInfo nodeInfo,
NodeStats nodeStats) |
ByteSizeValue |
getHeapMax()
Maximum total heap available to the cluster
|
ByteSizeValue |
getHeapUsed()
Total heap used in the cluster
|
TimeValue |
getMaxUpTime()
The maximum uptime of a node in the cluster
|
long |
getThreads()
The total number of threads in the cluster
|
com.carrotsearch.hppc.ObjectIntHashMap<ClusterStatsNodes.JvmVersion> |
getVersions() |
void |
readFrom(StreamInput in) |
static ClusterStatsNodes.JvmStats |
readJvmStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public com.carrotsearch.hppc.ObjectIntHashMap<ClusterStatsNodes.JvmVersion> getVersions()
public long getThreads()
public TimeValue getMaxUpTime()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
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.JvmStats readJvmStats(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.