|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.util.CachePrinter
public class CachePrinter
Helper that prints the contents of a Cache
to a string.
Constructor Summary | |
---|---|
CachePrinter()
|
Method Summary | |
---|---|
static String |
formatHtml(String s)
Formats a given String for display as an HTML snippet. |
static String |
printCacheDetails(Cache c)
Prints the contents of the cache (nodes + data) to a string |
static String |
printCacheInterceptors(CacheSPI<?,?> cache)
|
static String |
printCacheLockingInfo(Cache c)
Prints the status of locks in the cache (nodes + locks) to a string |
static String |
printInterceptorChain(CommandInterceptor i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachePrinter()
Method Detail |
---|
public static String printCacheDetails(Cache c)
c
- cache to print
public static String printCacheLockingInfo(Cache c)
c
- cache to print
public static String printCacheInterceptors(CacheSPI<?,?> cache)
public static String printInterceptorChain(CommandInterceptor i)
public static String formatHtml(String s)
s
- string to format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |