Class ClusterStatsNodeResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.nodes.BaseNodeResponse
org.elasticsearch.action.admin.cluster.stats.ClusterStatsNodeResponse
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionClusterStatsNodeResponse(DiscoveryNode node, ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats) -
Method Summary
Modifier and TypeMethodDescriptionCluster Health Status, only populated on master nodes.nodeInfo()static ClusterStatsNodeResponsevoidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodeResponse
getNodeMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
ClusterStatsNodeResponse
- Throws:
IOException
-
ClusterStatsNodeResponse
public ClusterStatsNodeResponse(DiscoveryNode node, @Nullable ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats)
-
-
Method Details
-
nodeInfo
-
nodeStats
-
clusterStatus
Cluster Health Status, only populated on master nodes. -
shardsStats
-
readNodeResponse
- Throws:
IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBaseNodeResponse- Throws:
IOException
-