com.atlassian.confluence.cache
Interface CacheStatisticsManager

All Known Implementing Classes:
EhCacheStatisticsManager, HazelcastStatisticsManager

public interface CacheStatisticsManager

Provides information on how effective each managed cache is.


Field Summary
static String CACHE_NAME_PREFIX
           
 
Method Summary
 Set<CacheStatisticsCapability> getCapabilities()
          Returns the set of optional capabilities supported by this implementation
 List<CacheStatistics> getLocalCacheStatistics()
          Retrieve all the cache statistics for locally held caches.
 CacheStatistics getLocalCacheStatistics(String cacheName)
          Retrieve the cache statistics for one locally held cache.
 

Field Detail

CACHE_NAME_PREFIX

static final String CACHE_NAME_PREFIX
See Also:
Constant Field Values
Method Detail

getLocalCacheStatistics

List<CacheStatistics> getLocalCacheStatistics()
Retrieve all the cache statistics for locally held caches. In a clustered setting, distributed caches will report only on the locally held portion of the cache.

Returns:
list of cache statistics sorted by their localised CacheStatistics.getNiceName().

getLocalCacheStatistics

CacheStatistics getLocalCacheStatistics(String cacheName)
Retrieve the cache statistics for one locally held cache. In a clustered setting, distributed caches will report only on the locally held portion of the cache.

Returns:
list of cache statistics sorted by their localised CacheStatistics.getNiceName().

getCapabilities

Set<CacheStatisticsCapability> getCapabilities()
Returns the set of optional capabilities supported by this implementation

Since:
5.5


Copyright © 2003–2015 Atlassian. All rights reserved.