com.atlassian.confluence.cache.hazelcast
Class HazelcastStatisticsManager

java.lang.Object
  extended by com.atlassian.confluence.cache.hazelcast.HazelcastStatisticsManager
All Implemented Interfaces:
CacheStatisticsManager

public class HazelcastStatisticsManager
extends java.lang.Object
implements CacheStatisticsManager

Hazelcast Implementation of CacheStatisticsManager.

Since:
5.5

Field Summary
 
Fields inherited from interface com.atlassian.confluence.cache.CacheStatisticsManager
CACHE_NAME_PREFIX
 
Constructor Summary
HazelcastStatisticsManager(com.atlassian.cache.CacheManager cacheManager, FormatSettingsManager formatSettingsManager, I18NBeanFactory i18NBeanFactory, CacheStatisticsManager cacheStatisticsManager, HazelcastDistributedCacheManager hazelcastCacheManager)
           
 
Method Summary
 java.util.Set<CacheStatisticsCapability> getCapabilities()
          Returns the set of optional capabilities supported by this implementation
 java.util.List<CacheStatistics> getLocalCacheStatistics()
          Retrieve all the cache statistics for locally held caches.
 CacheStatistics getLocalCacheStatistics(java.lang.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

HazelcastStatisticsManager

public HazelcastStatisticsManager(com.atlassian.cache.CacheManager cacheManager,
                                  FormatSettingsManager formatSettingsManager,
                                  I18NBeanFactory i18NBeanFactory,
                                  CacheStatisticsManager cacheStatisticsManager,
                                  HazelcastDistributedCacheManager hazelcastCacheManager)
Method Detail

getLocalCacheStatistics

public java.util.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(java.lang.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().

getCapabilities

public java.util.Set<CacheStatisticsCapability> getCapabilities()
Description copied from interface: CacheStatisticsManager
Returns the set of optional capabilities supported by this implementation

Specified by:
getCapabilities in interface CacheStatisticsManager


Copyright © 2003-2014 Atlassian. All Rights Reserved.