Package ubic.gemma.web.util
Interface CacheMonitor
- 
- All Known Implementing Classes:
- CacheMonitorImpl
 
 public interface CacheMonitor- Author:
- paul
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearAllCaches()Remove all items from all caches.voidclearCache(String cacheName)Remove all items from the cache with the given name.voiddisableStatistics()Disable collection of statistics on the caches.voidenableStatistics()Enable collection of statistics on the caches.StringgetStats(Locale locale)Obtain the cache statistics in HTML format.
 
- 
- 
- 
Method Detail- 
clearAllCachesvoid clearAllCaches() Remove all items from all caches.
 - 
clearCachevoid clearCache(String cacheName) throws IllegalArgumentException Remove all items from the cache with the given name.- Parameters:
- cacheName- cache
- Throws:
- IllegalArgumentException- if no such cache exist with the given name
 
 - 
disableStatisticsvoid disableStatistics() Disable collection of statistics on the caches.
 - 
enableStatisticsvoid enableStatistics() Enable collection of statistics on the caches.
 
- 
 
-