ToXContent
, ToXContentFragment
public static class ClusterStatsNodes.JvmStats extends java.lang.Object implements ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier and Type | Method | Description |
---|---|---|
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() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public com.carrotsearch.hppc.ObjectIntHashMap<ClusterStatsNodes.JvmVersion> getVersions()
public long getThreads()
public TimeValue getMaxUpTime()
public ByteSizeValue getHeapUsed()
public ByteSizeValue getHeapMax()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException