@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVInt(nodes.length); for (NodeInfo node : nodes) { node.writeTo(out); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeInfo[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = NodeInfo.readNodeInfo(in); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVInt(nodes.length); for (NodeSnapshotStatus response : nodes) { response.writeTo(out); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVInt(nodes.length); for (NodeStoreFilesMetaData response : nodes) { response.writeTo(out); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeStoreFilesMetaData[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = NodeStoreFilesMetaData.readListShardStoreNodeOperationResponse(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeSnapshotStatus[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = new NodeSnapshotStatus(); nodes[i].readFrom(in); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVInt(failureCount); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); failureCount = in.readVInt(); }