Class ClusterStatsNodeResponse
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.action.support.nodes.BaseNodeResponse
org.opensearch.action.admin.cluster.stats.ClusterStatsNodeResponse
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
Transport action for obtaining cluster stats from node level
- Opensearch.internal:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Node level statistics used for ClusterStatsIndices for _cluster/stats call.class
Node level statistics used for ClusterStatsIndices for _cluster/stats call.Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse
org.opensearch.core.transport.TransportResponse.Empty
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionClusterStatsNodeResponse
(DiscoveryNode node, ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats) ClusterStatsNodeResponse
(DiscoveryNode node, ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats, boolean useAggregatedNodeLevelResponses) ClusterStatsNodeResponse
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionCluster Health Status, only populated on cluster-manager nodes.nodeInfo()
static ClusterStatsNodeResponse
readNodeResponse
(org.opensearch.core.common.io.stream.StreamInput in) void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.action.support.nodes.BaseNodeResponse
getNode
Methods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddress
-
Constructor Details
-
ClusterStatsNodeResponse
public ClusterStatsNodeResponse(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
ClusterStatsNodeResponse
public ClusterStatsNodeResponse(DiscoveryNode node, @Nullable ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats) -
ClusterStatsNodeResponse
public ClusterStatsNodeResponse(DiscoveryNode node, @Nullable ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats, boolean useAggregatedNodeLevelResponses)
-
-
Method Details
-
nodeInfo
-
nodeStats
-
clusterStatus
Cluster Health Status, only populated on cluster-manager nodes. -
shardsStats
-
getAggregatedNodeLevelStats
-
readNodeResponse
public static ClusterStatsNodeResponse readNodeResponse(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
IOException
-