Module org.elasticsearch.server
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
,RefCounted
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
Constructor Summary
ConstructorsConstructorDescriptionClusterStatsNodeResponse
(DiscoveryNode node, ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats, SearchUsageStats searchUsageStats) -
Method Summary
Modifier and TypeMethodDescriptionCluster Health Status, only populated on master nodes.nodeInfo()
static ClusterStatsNodeResponse
void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.nodes.BaseNodeResponse
getNode
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
ClusterStatsNodeResponse
- Throws:
IOException
-
ClusterStatsNodeResponse
public ClusterStatsNodeResponse(DiscoveryNode node, @Nullable ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats, SearchUsageStats searchUsageStats)
-
-
Method Details
-
nodeInfo
-
nodeStats
-
clusterStatus
Cluster Health Status, only populated on master nodes. -
shardsStats
-
searchUsageStats
-
readNodeResponse
- Throws:
IOException
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classBaseNodeResponse
- Throws:
IOException
-