com.atlassian.confluence.cache
Interface ConfluenceCache<K,V>

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

Method Summary
 
Methods inherited from interface com.atlassian.cache.ManagedCache
clear, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries
 
Methods inherited from interface com.atlassian.confluence.cache.ConfigurableCache
setTimeToLive
 
Methods inherited from interface com.atlassian.cache.Cache
addListener, containsKey, get, get, getKeys, getName, put, putIfAbsent, remove, remove, removeAll, removeListener, replace
 



Copyright © 2003–2015 Atlassian. All rights reserved.