public static class ClusterStatsNodes.JvmStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic static ClusterStatsNodes.JvmStats readJvmStats(StreamInput in) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.