public class ClusterStatsNodeResponse extends NodeOperationResponse
TransportResponse.Empty
Constructor and Description |
---|
ClusterStatsNodeResponse(DiscoveryNode node,
ClusterHealthStatus clusterStatus,
NodeInfo nodeInfo,
NodeStats nodeStats,
ShardStats[] shardsStats) |
Modifier and Type | Method and Description |
---|---|
ClusterHealthStatus |
clusterStatus()
Cluster Health Status, only populated on master nodes.
|
NodeInfo |
nodeInfo() |
NodeStats |
nodeStats() |
void |
readFrom(StreamInput in) |
static ClusterStatsNodeResponse |
readNodeResponse(StreamInput in) |
ShardStats[] |
shardsStats() |
void |
writeTo(StreamOutput out) |
getNode
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public ClusterStatsNodeResponse(DiscoveryNode node, @Nullable ClusterHealthStatus clusterStatus, NodeInfo nodeInfo, NodeStats nodeStats, ShardStats[] shardsStats)
public NodeInfo nodeInfo()
public NodeStats nodeStats()
@Nullable public ClusterHealthStatus clusterStatus()
public ShardStats[] shardsStats()
public static ClusterStatsNodeResponse readNodeResponse(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class NodeOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodeOperationResponse
IOException
Copyright © 2009–2015. All rights reserved.