public static class NOOPHstCache.NOOPCacheElement extends Object implements 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) |
public Object getContent()
getContent
in interface CacheElement
public Object getKey()
getKey
in interface CacheElement
public int getTimeToIdleSeconds()
getTimeToIdleSeconds
in interface CacheElement
public int getTimeToLiveSeconds()
getTimeToLiveSeconds
in interface CacheElement
public boolean isEternal()
isEternal
in interface CacheElement
public void setEternal(boolean eternal)
setEternal
in interface CacheElement
public void setTimeToIdleSeconds(int timeToIdle)
setTimeToIdleSeconds
in interface CacheElement
public void setTimeToLiveSeconds(int timeToLive)
setTimeToLiveSeconds
in interface CacheElement
public boolean isCacheable()
isCacheable
in interface CacheElement
true
is this element is suited to be cachedCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.