Class EhCacheStatisticsManager
java.lang.Object
com.atlassian.confluence.cache.ehcache.EhCacheStatisticsManager
- All Implemented Interfaces:
CacheStatisticsFilterService
Provides CacheStatistics for EhCache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPredicate<com.atlassian.cache.CacheStatisticsKey> getCacheStatisticFilter(String cacheName) For a given cache, returns a predicate that can be used to filter whichCacheStatisticsKeys are appropriate for that cache.
-
Constructor Details
-
EhCacheStatisticsManager
-
-
Method Details
-
getCacheStatisticFilter
Description copied from interface:CacheStatisticsFilterServiceFor a given cache, returns a predicate that can be used to filter whichCacheStatisticsKeys are appropriate for that cache. For example, it may not be appropriate to measure the heap size for a given cache, soCacheStatisticsKey.HEAP_SIZEwill not pass the predicate.- Specified by:
getCacheStatisticFilterin interfaceCacheStatisticsFilterService
-