com.atlassian.confluence.cache.tangosol
Class CoherenceCacheStatisticsManager

java.lang.Object
  extended by com.atlassian.confluence.cache.tangosol.CoherenceCacheStatisticsManager
All Implemented Interfaces:
CacheStatisticsManager

public class CoherenceCacheStatisticsManager
extends Object
implements CacheStatisticsManager

Implements CacheStatisticsManager and provides methods for retrieving clustered cache service statistics too.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.cache.CacheStatisticsManager
CACHE_NAME_PREFIX
 
Constructor Summary
CoherenceCacheStatisticsManager(I18NBeanFactory i18NBeanFactory)
           
 
Method Summary
 Map<com.tangosol.net.CacheService,List<CacheStatistics>> getClusterCacheStatistics()
          Get the clustered cache statistics organised by CacheService.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoherenceCacheStatisticsManager

public CoherenceCacheStatisticsManager(I18NBeanFactory i18NBeanFactory)
Method Detail

getLocalCacheStatistics

public List<CacheStatistics> getLocalCacheStatistics()
Description copied from interface: CacheStatisticsManager
Retrieve all the cache statistics for locally held caches. This doesn't include clustered caches.

Specified by:
getLocalCacheStatistics in interface CacheStatisticsManager
Returns:
list of cache statistics sorted by their localised CacheStatistics.getNiceName().

getLocalCacheStatistics

public CacheStatistics getLocalCacheStatistics(String cacheName)
Description copied from interface: CacheStatisticsManager
Retrieve the cache statistics for one locally held cache. This cannot be used to fetch clustered cache statistics.

Specified by:
getLocalCacheStatistics in interface CacheStatisticsManager
Returns:
list of cache statistics sorted by their localised CacheStatistics.getNiceName().

getClusterCacheStatistics

public Map<com.tangosol.net.CacheService,List<CacheStatistics>> getClusterCacheStatistics()
Get the clustered cache statistics organised by CacheService.



Copyright © 2003-2012 Atlassian. All Rights Reserved.