Module org.elasticsearch.server
Class ClusterStatsNodes.JvmStats
java.lang.Object
org.elasticsearch.action.admin.cluster.stats.ClusterStatsNodes.JvmStats
- All Implemented Interfaces:
ToXContent
,ToXContentFragment
- Enclosing class:
- ClusterStatsNodes
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionMaximum total heap available to the clusterTotal heap used in the clusterThe maximum uptime of a node in the clusterlong
The total number of threads in the clustertoXContent
(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
getVersions
-
getThreads
public long getThreads()The total number of threads in the cluster -
getMaxUpTime
The maximum uptime of a node in the cluster -
getHeapUsed
Total heap used in the cluster -
getHeapMax
Maximum total heap available to the cluster -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-