|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.cache.util.CachePrinter
public class CachePrinter
Helper that prints the contents of a Cache
to a string.
Constructor Summary | |
---|---|
CachePrinter()
|
Method Summary | |
---|---|
static java.lang.String |
formatHtml(java.lang.String s)
Formats a given String for display as an HTML snippet. |
static java.lang.String |
prettyPrint(long millis)
Prints a time for display |
static java.lang.String |
printCacheDetails(Cache... c)
Prints the contents of the cache (nodes + data) to a string |
static java.lang.String |
printCacheInterceptors(CacheSPI<?,?> cache)
|
static java.lang.String |
printCacheLockingInfo(Cache c)
Prints the status of locks in the cache (nodes + locks) to a string |
static java.lang.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 java.lang.String printCacheDetails(Cache... c)
c
- cache to print
public static java.lang.String printCacheLockingInfo(Cache c)
c
- cache to print
public static java.lang.String printCacheInterceptors(CacheSPI<?,?> cache)
public static java.lang.String printInterceptorChain(CommandInterceptor i)
public static java.lang.String formatHtml(java.lang.String s)
s
- string to format
public static java.lang.String prettyPrint(long millis)
millis
- time in millis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |