|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that cache entries support.
Method Summary | |
void |
destroy()
Notify the entry that it has been removed from the cache. |
java.lang.Object |
getValue()
Get the value component of the TimedEntry. |
void |
init(long now)
Initializes an entry with the current cache time. |
boolean |
isCurrent(long now)
Is the entry still valid basis the current time |
boolean |
refresh()
Attempt to extend the entry lifetime by refreshing it. |
Method Detail |
public void init(long now)
public boolean isCurrent(long now)
public boolean refresh()
public void destroy()
public java.lang.Object getValue()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |