public PrettyPrinter prettyPrint(PrettyPrinter out) { out.println("ManagedObjectRequestContext"); PrettyPrinter rv = out; out = out.duplicateAndIndent(); out.indent().println(new Date(timestamp)); out.indent().println("channelID: " + channelID); out.indent().println("requestID: " + requestID); out.indent().print("requestedObjectIDs: ").println(requestedObjectIDs); return rv; }
@Override public PrettyPrinter prettyPrint(PrettyPrinter out) { out.print("ClientLockManagerImpl [" + this.locks.size() + " locks]").flush(); for (final ClientLock lock : this.locks.values()) { out.indent().print(lock).flush(); } return out; }