/** * Prints the status of locks in the cache (nodes + locks) to a string * * @param c cache to print * @return a String representation of the cache */ public static String printCacheLockingInfo(Cache c) { // internal cast DataContainerImpl cd = (DataContainerImpl) ((CacheInvocationDelegate) c).getDataContainer(); return cd.printLockInfo(); }