public interface CacheStatisticsManager
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_NAME_PREFIX |
Modifier and Type | Method and Description |
---|---|
default Predicate<com.atlassian.cache.CacheStatisticsKey> |
getCacheStatisticFilter(String cacheName)
For a given cache, returns a predicate that can be used to filter which
CacheStatisticsKey s are
appropriate for that cache. |
Set<CacheStatisticsCapability> |
getCapabilities()
Returns the set of optional capabilities supported by this implementation
|
List<CacheStatistics> |
getLocalCacheStatistics()
Deprecated.
since 7.5 Use
ManagedCache.getStatistics() |
CacheStatistics |
getLocalCacheStatistics(String cacheName)
Deprecated.
since 7.5 Use
ManagedCache.getStatistics() |
static final String CACHE_NAME_PREFIX
@Deprecated List<CacheStatistics> getLocalCacheStatistics()
ManagedCache.getStatistics()
CacheStatistics.getNiceName()
.@Deprecated CacheStatistics getLocalCacheStatistics(String cacheName)
ManagedCache.getStatistics()
CacheStatistics.getNiceName()
.Set<CacheStatisticsCapability> getCapabilities()
default Predicate<com.atlassian.cache.CacheStatisticsKey> getCacheStatisticFilter(String cacheName)
CacheStatisticsKey
s are
appropriate for that cache. For example, it may not be appropriate to measure the heap size for a given cache,
so CacheStatisticsKey.HEAP_SIZE
will not pass the predicate.Copyright © 2003–2020 Atlassian. All rights reserved.