Package com.atlassian.confluence.cache
Interface ConfigurableCache<K,V>
-
- All Superinterfaces:
com.atlassian.cache.Cache<K,V>
- All Known Subinterfaces:
ConfluenceCache<K,V>
- All Known Implementing Classes:
ConfluenceMonitoringCache,DefaultConfluenceCache,DeferredOperationsCache
@Deprecated public interface ConfigurableCache<K,V> extends com.atlassian.cache.Cache<K,V>
Deprecated.since 5.5.1 please useManagedCacheinsteadDefines a configurableCache. This interface provides additional methods that allow the runtime configuration of a cache to be configured.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidsetTimeToLive(long timeToLive, TimeUnit timeUnit)Deprecated.Since 5.6.
-
-
-
Method Detail
-
setTimeToLive
@Deprecated void setTimeToLive(long timeToLive, TimeUnit timeUnit)
Deprecated.Since 5.6. UseCacheSettingsBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit)Update the time to live. Please note, some implementations cannot store time values smaller thanTimeUnit.SECONDS.- Parameters:
timeToLive- valuetimeUnit- unit of time
-
-