4647484950515253545556
*/ public static String printCacheDetails(Cache c) { // internal cast DataContainer ci = ((CacheInvocationDelegate) c).getDataContainer(); return ci.printDetails(); } /** * Prints the status of locks in the cache (nodes + locks) to a string *
4445464748495051525354
5152535455565758596061
for (Cache cache: c) { // internal cast sb.append("\n--- Cache").append(i++).append(" ---\n"); DataContainer ci = ((CacheInvocationDelegate) cache).getDataContainer(); sb.append(ci.printDetails()); sb.append("\n------------\n\n"); } return sb.toString(); }