|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JetspeedCacheMonitor
Monitor active Jetspeed Caches by retrieving snapshots of cache statistics, recalculating cache statistics, and resetting the cache statistics Warning, the methods calculateStatistics can be computationally expensive
Method Summary | |
---|---|
java.util.List<CacheMonitorState> |
calculateStatistics()
Recalculate the statistics for all caches, including cache size calculations. |
CacheMonitorState |
calculateStatistics(java.lang.String cacheName)
Recalculate the statistics for the given cache, including cache size calculations. |
void |
resetStatistics()
Reset the statistics for all caches |
void |
resetStatistics(java.lang.String cacheName)
Reset the statistics for the given cache |
java.util.List<CacheMonitorState> |
snapshotStatistics()
Retrieve a snapshot of all cache states and statistics |
CacheMonitorState |
snapshotStatistics(java.lang.String cacheName)
Retrieve a snapshot of a single cache states and statistics without performing expensive object count calculations |
Method Detail |
---|
java.util.List<CacheMonitorState> snapshotStatistics()
CacheMonitorState snapshotStatistics(java.lang.String cacheName)
cacheName
- the name of the cache
void resetStatistics()
void resetStatistics(java.lang.String cacheName)
cacheName
- the name of the cachejava.util.List<CacheMonitorState> calculateStatistics()
CacheMonitorState calculateStatistics(java.lang.String cacheName)
cacheName
- the name of the cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |