public interface CacheElement
Modifier and Type | Method and Description |
---|---|
Object |
getContent() |
Object |
getKey() |
int |
getTimeToIdleSeconds() |
int |
getTimeToLiveSeconds() |
boolean |
isCacheable() |
boolean |
isEternal() |
void |
setEternal(boolean eternal) |
void |
setTimeToIdleSeconds(int timeToIdle) |
void |
setTimeToLiveSeconds(int timeToLive) |
Object getKey()
Object getContent()
int getTimeToLiveSeconds()
void setTimeToLiveSeconds(int timeToLive)
int getTimeToIdleSeconds()
void setTimeToIdleSeconds(int timeToIdle)
boolean isEternal()
void setEternal(boolean eternal)
boolean isCacheable()
true
is this element is suited to be cachedCopyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.