org.jboss.cache.util
Class CachePrinter
java.lang.Object
org.jboss.cache.util.CachePrinter
public class CachePrinter
- extends Object
Helper that prints the contents of a Cache
to a string.
- Since:
- 2.0.0
- Author:
- Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachePrinter
public CachePrinter()
printCacheDetails
public static String printCacheDetails(Cache c)
- Prints the contents of the cache (nodes + data) to a string
- Parameters:
c
- cache to print
- Returns:
- a String representation of the cache
printCacheLockingInfo
public static String printCacheLockingInfo(Cache c)
- Prints the status of locks in the cache (nodes + locks) to a string
- Parameters:
c
- cache to print
- Returns:
- a String representation of the cache
printCacheInterceptors
public static String printCacheInterceptors(CacheSPI<?,?> cache)
printInterceptorChain
public static String printInterceptorChain(Interceptor i)
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.