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 void
clearAllCaches()
Remove all items from all caches.void
clearCache(String cacheName)
Remove all items from the cache with the given name.void
disableStatistics()
Disable collection of statistics on the caches.void
enableStatistics()
Enable collection of statistics on the caches.String
getStats(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.
-
-