public interface

CacheStatisticsManager

com.atlassian.confluence.cache.CacheStatisticsManager
Known Indirect Subclasses

Class Overview

Provides information on how effective each managed cache is.

Summary

Constants
String CACHE_NAME_PREFIX
Public Methods
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.

Constants

public static final String CACHE_NAME_PREFIX

Constant Value: "cache.name."

Public Methods

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().