Streamable, Writeablepublic class ClusterStatsNodeResponse extends BaseNodeResponse
TransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>| Constructor | Description |
|---|---|
ClusterStatsNodeResponse(DiscoveryNode node,
ClusterHealthStatus clusterStatus,
NodeInfo nodeInfo,
NodeStats nodeStats,
ShardStats[] shardsStats) |
| Modifier and Type | Method | Description |
|---|---|---|
ClusterHealthStatus |
clusterStatus() |
Cluster Health Status, only populated on master nodes.
|
NodeInfo |
nodeInfo() |
|
NodeStats |
nodeStats() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
static ClusterStatsNodeResponse |
readNodeResponse(StreamInput in) |
|
ShardStats[] |
shardsStats() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoteAddress, remoteAddresspublic 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 java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BaseNodeResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class BaseNodeResponsejava.io.IOException