public class ClusterStatsNodeResponse extends BaseNodeResponse
TransportResponse.Emptyheaders| 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) |
ShardStats[] |
shardsStats() |
void |
writeTo(StreamOutput out) |
getNoderemoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic 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 void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BaseNodeResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodeResponseIOExceptionCopyright © 2009–2017. All rights reserved.