public static void clear() {
JOURNALS.clear();
+ DELETE_MESSAGES_COMPLETE_LATCHES.clear();
+ WRITE_MESSAGES_COMPLETE.clear();
+ BLOCK_READ_MESSAGES_LATCHES.clear();
}
@SuppressWarnings("unchecked")
if (journalMap != null) {
synchronized (journalMap) {
for (Map.Entry<Long, Object> e: journalMap.entrySet()) {
- builder.append("\n ").append(e.getKey()).append(" = ").append(e.getValue());
+ builder.append("\n ").append(e.getKey()).append(" = ").append(deserialize(e.getValue()));
}
}
}