|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface TimedCachePolicy.TimedEntry
The interface that cache entries support.
| Method Summary | |
|---|---|
void |
destroy()
Notify the entry that it has been removed from the cache. |
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 |
|---|
void init(long now)
boolean isCurrent(long now)
boolean refresh()
void destroy()
Object getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||