public class CachePrinter extends Object
Cache to a string.| Constructor and Description |
|---|
CachePrinter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatHtml(String s)
Formats a given String for display as an HTML snippet.
|
static String |
prettyPrint(long millis)
Prints a time for display
|
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) |
public static String printCacheDetails(Cache... c)
c - cache to printpublic static String printCacheLockingInfo(Cache c)
c - cache to printpublic static String printInterceptorChain(CommandInterceptor i)
public static String formatHtml(String s)
s - string to formatpublic static String prettyPrint(long millis)
millis - time in millisCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.