//log.info("topicHandler " + i + ": " + topicHandler.getUniqueKey());
try {
out.write(("\n <TopicHandler id='"+topicHandler.getUniqueKey()+"'><topic>").getBytes("UTF-8"));
I_Map m = topicHandler.getMsgUnitCache();
if (m != null) {
PersistenceCachePlugin c = null;
if (m instanceof PersistenceCachePlugin) c = (PersistenceCachePlugin)m;
MsgUnitStoreProperty p = (MsgUnitStoreProperty)m.getProperties();
long bc = (c != null) ? c.getNumOfCachedBytes() : 0;
long ec = (c != null) ? c.getNumOfCachedEntries() : 0;
out.write(("\n <persistence relating='msgUnitStore' entries='"+m.getNumOfEntries()
+"' entriesCache='"+ec+"' bytes='"+m.getNumOfBytes()+"' bytesCache='"+bc+"'/>").getBytes("UTF-8"));
out.write(p.toXml(" ").getBytes("UTF-8"));
out.write(("\n </topic></TopicHandler>").getBytes("UTF-8"));
currentBytes += m.getNumOfBytes();