/* Add DbFileSummary information. */
Iterator<Object> dbMapKeys = dbMap.keySet().iterator();
while (dbMapKeys.hasNext()) {
Object key = dbMapKeys.next();
DatabaseImpl db = databaseKeyToDatabaseImpl(key);
/* If db is null, it was deleted. */
DbFileSummaryMap fileMap = dbMap.get(key);
if (db != null) {
Iterator<Map.Entry<Long, DbFileSummary>> fileEntries =
fileMap.entrySet().iterator();
while (fileEntries.hasNext()) {
Map.Entry<Long, DbFileSummary> fileEntry =
fileEntries.next();
Long fileNum = fileEntry.getKey();
DbFileSummary dbFileSummary =
db.getDbFileSummary(fileNum, true /*willModify*/);
if (dbFileSummary != null) {
DbFileSummary localSummary = fileEntry.getValue();
dbFileSummary.add(localSummary);
}
}