Package ubic.gemma.web.util
Interface CacheMonitor
-
- All Known Implementing Classes:
CacheMonitorImpl
public interface CacheMonitor- Author:
- paul
-
-
Method Summary
All 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
-
clearAllCaches
void clearAllCaches()
Remove all items from all caches.
-
clearCache
void 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
-
disableStatistics
void disableStatistics()
Disable collection of statistics on the caches.
-
enableStatistics
void enableStatistics()
Enable collection of statistics on the caches.
-
-