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
Modifier and TypeClassDescriptionstatic enum
An 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
indices()
void
setIncludeShardsStats
(boolean includeShardsStats) void
setIndices
(CommonStatsFlags indices) void
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
NodesStatsRequestParameters
public NodesStatsRequestParameters() -
NodesStatsRequestParameters
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
indices
-
setIndices
-
requestedMetrics
-
includeShardsStats
public boolean includeShardsStats() -
setIncludeShardsStats
public void setIncludeShardsStats(boolean includeShardsStats)
-