Class ClusterStatsNodes.Counts
java.lang.Object
org.elasticsearch.action.admin.cluster.stats.ClusterStatsNodes.Counts
- All Implemented Interfaces:
ToXContent
,ToXContentFragment
- Enclosing class:
- ClusterStatsNodes
public static class ClusterStatsNodes.Counts 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 java.util.Map<java.lang.String,java.lang.Integer>
getRoles()
int
getTotal()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Method Details
-
getTotal
public int getTotal() -
getRoles
public java.util.Map<java.lang.String,java.lang.Integer> getRoles() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-