@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); clusterStatus = null; if (in.readBoolean()) { clusterStatus = ClusterHealthStatus.fromValue(in.readByte()); } this.nodeInfo = NodeInfo.readNodeInfo(in); this.nodeStats = NodeStats.readNodeStats(in); int size = in.readVInt(); shardsStats = new ShardStats[size]; for (int i = 0; i < size; i++) { shardsStats[i] = ShardStats.readShardStats(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeStats[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = NodeStats.readNodeStats(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); clusterStatus = null; if (in.readBoolean()) { clusterStatus = ClusterHealthStatus.fromValue(in.readByte()); } this.nodeInfo = NodeInfo.readNodeInfo(in); this.nodeStats = NodeStats.readNodeStats(in); int size = in.readVInt(); shardsStats = new ShardStats[size]; for (int i = 0; i < size; i++) { shardsStats[i] = ShardStats.readShardStats(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); clusterStatus = null; if (in.readBoolean()) { clusterStatus = ClusterHealthStatus.fromValue(in.readByte()); } this.nodeInfo = NodeInfo.readNodeInfo(in); this.nodeStats = NodeStats.readNodeStats(in); int size = in.readVInt(); shardsStats = new ShardStats[size]; for (size--; size >= 0; size--) { shardsStats[size] = ShardStats.readShardStats(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); clusterStatus = null; if (in.readBoolean()) { clusterStatus = ClusterHealthStatus.fromValue(in.readByte()); } this.nodeInfo = NodeInfo.readNodeInfo(in); this.nodeStats = NodeStats.readNodeStats(in); int size = in.readVInt(); shardsStats = new ShardStats[size]; for (int i = 0; i < size; i++) { shardsStats[i] = ShardStats.readShardStats(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); clusterStatus = null; if (in.readBoolean()) { clusterStatus = ClusterHealthStatus.fromValue(in.readByte()); } this.nodeInfo = NodeInfo.readNodeInfo(in); this.nodeStats = NodeStats.readNodeStats(in); int size = in.readVInt(); shardsStats = new ShardStats[size]; for (int i = 0; i < size; i++) { shardsStats[i] = ShardStats.readShardStats(in); } }