|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ManagedCache
instead
@Deprecated public interface ConfigurableCache<K,V>
Defines a configurable Cache
. This interface provides additional methods
that allow the runtime configuration of a cache to be configured.
Method Summary | |
---|---|
void |
setTimeToLive(long timeToLive,
java.util.concurrent.TimeUnit timeUnit)
Deprecated. Since 5.6. Use CacheSettingsBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit) |
Methods inherited from interface com.atlassian.cache.Cache |
---|
containsKey, get, getKeys, getName, put, putIfAbsent, remove, remove, removeAll, replace |
Method Detail |
---|
@Deprecated void setTimeToLive(long timeToLive, java.util.concurrent.TimeUnit timeUnit)
CacheSettingsBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit)
TimeUnit.SECONDS
.
timeToLive
- valuetimeUnit
- unit of time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |