public interface CacheEntry
Modifier and Type | Method and Description |
---|---|
java.util.Date |
created()
when was the entry created.
|
Struct |
getCustomInfo()
get all information data available for this entry
|
java.lang.String |
getKey() |
java.lang.Object |
getValue() |
int |
hitCount()
how many time was the entry accessed?
|
long |
idleTimeSpan()
time in milliseconds after which the object is flushed from the cache if it is not accessed during that time.
|
java.util.Date |
lastHit()
when was the entry accessed last time.
|
java.util.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
|
java.util.Date lastHit()
java.util.Date lastModified()
java.util.Date created()
int hitCount()
java.lang.String getKey()
java.lang.Object getValue()
long size()
long liveTimeSpan()
long idleTimeSpan()
Struct getCustomInfo()