public class

CoherenceCacheStatisticsManager

extends Object
implements CacheStatisticsManager
java.lang.Object
   ↳ com.atlassian.confluence.cache.tangosol.CoherenceCacheStatisticsManager

Class Overview

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

Summary

[Expand]
Inherited Constants
From interface com.atlassian.confluence.cache.CacheStatisticsManager
Public Constructors
CoherenceCacheStatisticsManager(I18NBeanFactory i18NBeanFactory)
Public Methods
Map<CacheService, List<CacheStatistics>> getClusterCacheStatistics()
Get the clustered cache statistics organised by CacheService.
CacheStatistics getLocalCacheStatistics(String cacheName)
Retrieve the cache statistics for one locally held cache.
List<CacheStatistics> getLocalCacheStatistics()
Retrieve all the cache statistics for locally held caches.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.cache.CacheStatisticsManager

Public Constructors

public CoherenceCacheStatisticsManager (I18NBeanFactory i18NBeanFactory)

Public Methods

public Map<CacheService, List<CacheStatistics>> getClusterCacheStatistics ()

Get the clustered cache statistics organised by CacheService.

public CacheStatistics getLocalCacheStatistics (String cacheName)

Retrieve the cache statistics for one locally held cache. This cannot be used to fetch clustered cache statistics.

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

public List<CacheStatistics> getLocalCacheStatistics ()

Retrieve all the cache statistics for locally held caches. This doesn't include clustered caches.

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