Module org.elasticsearch.server
Class NodesStatsRequestParameters
java.lang.Object
org.elasticsearch.action.admin.cluster.node.stats.NodesStatsRequestParameters
- All Implemented Interfaces:
Writeable
This class encapsulates the metrics and other information needed to define scope when we are requesting node stats.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration of the "core" sections of metrics that may be requested from the nodes stats endpoint.Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanindices()voidsetIncludeShardsStats(boolean includeShardsStats) voidsetIndices(CommonStatsFlags indices) voidwriteTo(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
NodesStatsRequestParameters
public NodesStatsRequestParameters() -
NodesStatsRequestParameters
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
indices
-
setIndices
-
requestedMetrics
-
includeShardsStats
public boolean includeShardsStats() -
setIncludeShardsStats
public void setIncludeShardsStats(boolean includeShardsStats)
-