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
Modifier and Type | Method and Description |
---|---|
List<CacheMonitorState> |
calculateStatistics()
Recalculate the statistics for all caches, including cache size calculations.
|
CacheMonitorState |
calculateStatistics(String cacheName)
Recalculate the statistics for the given cache, including cache size calculations.
|
void |
resetStatistics()
Reset the statistics for all caches
|
void |
resetStatistics(String cacheName)
Reset the statistics for the given cache
|
List<CacheMonitorState> |
snapshotStatistics()
Retrieve a snapshot of all cache states and statistics
|
CacheMonitorState |
snapshotStatistics(String cacheName)
Retrieve a snapshot of a single cache states and statistics without performing expensive object count calculations
|
List<CacheMonitorState> snapshotStatistics()
CacheMonitorState snapshotStatistics(String cacheName)
cacheName
- the name of the cachevoid resetStatistics()
void resetStatistics(String cacheName)
cacheName
- the name of the cacheList<CacheMonitorState> calculateStatistics()
CacheMonitorState calculateStatistics(String cacheName)
cacheName
- the name of the cacheCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.