ManagedCache
instead@Deprecated public interface ConfigurableCache<K,V> extends com.atlassian.cache.Cache<K,V>
Cache
. This interface provides additional methods
that allow the runtime configuration of a cache to be configured.Modifier and Type | Method and Description |
---|---|
void |
setTimeToLive(long timeToLive,
TimeUnit timeUnit)
Deprecated.
Since 5.6. Use
CacheSettingsBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit) |
@Deprecated void setTimeToLive(long timeToLive, TimeUnit timeUnit)
CacheSettingsBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit)
TimeUnit.SECONDS
.timeToLive
- valuetimeUnit
- unit of timeCopyright © 2003–2020 Atlassian. All rights reserved.