|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the key type of this cache entryV
- the data resourcepublic interface CacheEntry<K,V>
A cached object.
Method Summary | |
---|---|
long |
getCacheTime()
Get the date this object was cached. |
V |
getDataHook()
Get the hooked data. |
long |
getExpires()
Get the expiry-date of our file |
long |
getId()
Get the id of the entry. |
K |
getKey()
Get the key were holding data for |
long |
getSize()
Get the size of our file |
void |
setDataHook(V o)
Sets the data hook for this cache object. |
void |
setExpires(long d)
Sets the expirydate of our data |
Method Detail |
---|
long getId()
K getKey()
long getCacheTime()
long getSize()
long getExpires()
void setExpires(long d)
d
- the new expiry-date.V getDataHook()
void setDataHook(V o)
o
- the new data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |