@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); timestamp = in.readVLong(); // it may be that the master switched on us while doing the operation. In this case the status may be null. status = in.readOptionalWriteable(ClusterHealthStatus::readFrom); }
@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 readFrom(StreamInput in) throws IOException { super.readFrom(in); timestamp = in.readVLong(); // it may be that the master switched on us while doing the operation. In this case the status may be null. status = in.readOptionalWriteable(ClusterHealthStatus::readFrom); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); timestamp = in.readVLong(); // it may be that the master switched on us while doing the operation. In this case the status may be null. status = in.readOptionalWriteable(ClusterHealthStatus::readFrom); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new ClearFilterJoinCacheNodeResponse[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = ClearFilterJoinCacheNodeResponse.readNodeInfo(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); timestamp = in.readVLong(); // it may be that the master switched on us while doing the operation. In this case the status may be null. status = in.readOptionalWriteable(ClusterHealthStatus::readFrom); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new StatsFilterJoinCacheNodeResponse[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = StatsFilterJoinCacheNodeResponse.readNodeStats(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); 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 NodeHotThreads[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = NodeHotThreads.readNodeHotThreads(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeGatewayMetaState[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = new NodeGatewayMetaState(); nodes[i].readFrom(in); } }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); nodes = new NodeGatewayStartedShards[in.readVInt()]; for (int i = 0; i < nodes.length; i++) { nodes[i] = new NodeGatewayStartedShards(); nodes[i].readFrom(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 readFrom(StreamInput in) throws IOException { super.readFrom(in); timestamp = in.readVLong(); status = null; if (in.readBoolean()) { // it may be that the master switched on us while doing the operation. In this case the status may be null. status = ClusterHealthStatus.fromValue(in.readByte()); } clusterUUID = in.readString(); nodesStats = ClusterStatsNodes.readNodeStats(in); indicesStats = ClusterStatsIndices.readIndicesStats(in); }