String result = "";
Set<Object> os = ((com.dotcms.repackage.org.jboss.cache.NodeSPI)cache.getRoot().getChild(cache.getRoot().getFqn())).getChildrenNames();
List<String> ret=new ArrayList<String>();
for (Object o : os) {
try{
NodeSPI nodeSPI=(com.dotcms.repackage.org.jboss.cache.NodeSPI)cache.getRoot().getChild(o);
int s =nodeSPI.getChildren().size();
ret.add( o.toString() + " " + s );
}catch (Exception e) {
Logger.warn(this, e.getMessage(),e);
}
}