|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.cache.eh.EHCacheEntry
public class EHCacheEntry
Constructor Summary | |
---|---|
EHCacheEntry(net.sf.ehcache.Element element)
|
Method Summary | |
---|---|
Date |
created()
when was the entry created. |
Struct |
getCustomInfo()
get all information data available for this entry |
String |
getKey()
|
Object |
getValue()
|
int |
hitCount()
how many time was the entry accessed? this information is optional and depends on the implementation, when information is not available -1 is returned |
long |
idleTimeSpan()
time in milliseconds after which the object is flushed from the cache if it is not accessed during that time. |
Date |
lastHit()
when was the entry accessed last time. |
Date |
lastModified()
when was the entry last time modified. |
long |
liveTimeSpan()
define time until the entry is valid |
void |
setElement(net.sf.ehcache.Element element)
|
long |
size()
the size of the object |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EHCacheEntry(net.sf.ehcache.Element element)
Method Detail |
---|
public Date created()
CacheEntry
created
in interface CacheEntry
CacheEntry.created()
public Date lastHit()
CacheEntry
lastHit
in interface CacheEntry
CacheEntry.lastHit()
public Date lastModified()
CacheEntry
lastModified
in interface CacheEntry
CacheEntry.lastModified()
public int hitCount()
CacheEntry
hitCount
in interface CacheEntry
CacheEntry.hitCount()
public long idleTimeSpan()
CacheEntry
idleTimeSpan
in interface CacheEntry
CacheEntry.idleTimeSpan()
public long liveTimeSpan()
CacheEntry
liveTimeSpan
in interface CacheEntry
railo.commons.io.cache.CacheEntry#validUntil()
public long size()
CacheEntry
size
in interface CacheEntry
CacheEntry.size()
public String getKey()
getKey
in interface CacheEntry
CacheEntry.getKey()
public Object getValue()
getValue
in interface CacheEntry
CacheEntry.getValue()
public void setElement(net.sf.ehcache.Element element)
public String toString()
toString
in class Object
Object.toString()
public Struct getCustomInfo()
CacheEntry
getCustomInfo
in interface CacheEntry
railo.commons.io.cache.CacheEntry#getCusomInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |