@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (clusterStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(clusterStatus.value()); } nodeInfo.writeTo(out); nodeStats.writeTo(out); out.writeVInt(shardsStats.length); for (ShardStats ss : shardsStats) { ss.writeTo(out); } } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeVInt(nodes.length); for (NodeStats node : nodes) { node.writeTo(out); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (clusterStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(clusterStatus.value()); } nodeInfo.writeTo(out); nodeStats.writeTo(out); out.writeVInt(shardsStats.length); for (ShardStats ss : shardsStats) { ss.writeTo(out); } } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (clusterStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(clusterStatus.value()); } nodeInfo.writeTo(out); nodeStats.writeTo(out); out.writeVInt(shardsStats.length); for (ShardStats ss : shardsStats) { ss.writeTo(out); } } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (clusterStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(clusterStatus.value()); } nodeInfo.writeTo(out); nodeStats.writeTo(out); out.writeVInt(shardsStats.length); for (ShardStats ss : shardsStats) { ss.writeTo(out); } } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); if (clusterStatus == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeByte(clusterStatus.value()); } nodeInfo.writeTo(out); nodeStats.writeTo(out); out.writeVInt(shardsStats.length); for (ShardStats ss : shardsStats) { ss.writeTo(out); } } }