@Internal public interface ConfluenceCache<K,V> extends com.atlassian.cache.Cache<K,V>, com.atlassian.cache.ManagedCache, ConfigurableCache<K,V>
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.
clear, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getCacheCollector, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, isStatisticsEnabled, setStatistics, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries
setTimeToLive
Copyright © 2003–2021 Atlassian. All rights reserved.