Class ClusterStatsNodes.OsStats
java.lang.Object
org.elasticsearch.action.admin.cluster.stats.ClusterStatsNodes.OsStats
- All Implemented Interfaces:
ToXContent
,ToXContentFragment
- Enclosing class:
- ClusterStatsNodes
public static class ClusterStatsNodes.OsStats extends java.lang.Object implements ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
-
Method Summary
Modifier and Type Method Description int
getAllocatedProcessors()
int
getAvailableProcessors()
OsStats.Mem
getMem()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Method Details
-
getAvailableProcessors
public int getAvailableProcessors() -
getAllocatedProcessors
public int getAllocatedProcessors() -
getMem
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-