|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheEntry
interface for a entry inside the cache, this interface is read-only
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 |
long |
size()
the size of the object |
Method Detail |
---|
Date lastHit()
Date lastModified()
Date created()
int hitCount()
String getKey()
Object getValue()
long size()
long liveTimeSpan()
long idleTimeSpan()
Struct getCustomInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |