|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
This interface can be moved into the com.atlassian.cache library once it has stabilised and matured in Confluence.
Method Summary | |
---|---|
void |
setTimeToLive(long timeToLive,
java.util.concurrent.TimeUnit timeUnit)
Update the time to live. |
Methods inherited from interface com.atlassian.cache.Cache |
---|
containsKey, get, getKeys, getName, put, putIfAbsent, remove, remove, removeAll, replace |
Method Detail |
---|
void setTimeToLive(long timeToLive, java.util.concurrent.TimeUnit timeUnit)
TimeUnit.SECONDS
.
timeToLive
- valuetimeUnit
- unit of time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |