class UnderReplicatedBlocks implements Iterable<BlockInfo> {

  synchronized Iterator<BlockInfo> iterator(int level) {
    return priorityQueues.get(level).iterator();
  }

    UnderReplicatedBlocks();

}