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 whichCacheStatisticsKey
s are appropriate for that cache.
-
Constructor Details
-
EhCacheStatisticsManager
-
-
Method Details
-
getCacheStatisticFilter
Description copied from interface:CacheStatisticsFilterService
For a given cache, returns a predicate that can be used to filter whichCacheStatisticsKey
s are appropriate for that cache. For example, it may not be appropriate to measure the heap size for a given cache, soCacheStatisticsKey.HEAP_SIZE
will not pass the predicate.- Specified by:
getCacheStatisticFilter
in interfaceCacheStatisticsFilterService
-