code: void metaSave(PrintWriter out) {
      synchronized (pendingReplications) {
        out.println("Metasave: Blocks being replicated: " +
                    pendingReplications.size());
        Iterator iter = pendingReplications.entrySet().iterator();
        while (iter.hasNext()) {
          Map.Entry entry = (Map.Entry) iter.next();
          PendingInfo pendingBlock = (PendingInfo) entry.getValue();
          Path filename = (Path) entry.getKey();
          out.println(filename + 
                      " StartTime: " + new Time(pendingBlock.timeStamp));
        }
      }
    }
docs: Iterate through all items and print them.