- All Superinterfaces:
- com.atlassian.cache.Cache<K,V>, ConfigurableCache<K,V>, com.atlassian.cache.ManagedCache
- All Known Subinterfaces:
- LockingCache<K,V>, ManagedLockingCache<K,V>
- All Known Implementing Classes:
- ConfluenceMonitoringCache, ConfluenceMonitoringLockingCache, DefaultConfluenceCache, DeferredOperationsCache, HazelcastLockingCache
@Internal
public interface ConfluenceCache<K,V>
extends com.atlassian.cache.Cache<K,V>, com.atlassian.cache.ManagedCache, ConfigurableCache<K,V>
Base cache interface for all caches in confluence. It combines the Cache, ManagedCache and ConfiguarableCache
interfaces in a single place, allowing confluence internal code to more easily work with cache objects.
One consequence of this is that Confluence code should not have Classes implementing Cache directly, but rather
should implement this interface.
Whenever our management and service layers return these objects, they should return either Cache, ManagedCache, or
ConfigurableCache, and never this interface directly.
- Since:
- 5.7