sb.append("- Label = "+myLabel+"\n");
sb.append("- Monitored Label = ").append(localSlice.monitoredLabel).append("\n");
sb.append("- Monitored PlatformManager replica = ").append(localSlice.monitoredSvcMgr).append("\n");
String monitoredNodeStr = "UNKNOWN(Monitor null)";
if (localSlice.nodeMonitor != null) {
Node n = localSlice.nodeMonitor.getNode();
monitoredNodeStr = (n != null ? n.getName() : "null");
}
sb.append("- Monitored Node = ").append(monitoredNodeStr).append("\n");
sb.append(super.dump(key));
return (sb.toString());
}