|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigurableCache
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,
TimeUnit timeUnit)
Update the time to live. |
| Methods inherited from interface com.atlassian.cache.Cache |
|---|
get, getKeys, getName, put, remove, removeAll |
| Method Detail |
|---|
void setTimeToLive(long timeToLive,
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 | |||||||||