|
JBoss Common Classes 2.2.17.GA | |||||||||
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()
|
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)
now
- boolean isCurrent(long now)
now
-
boolean refresh()
void destroy()
Object getValue()
|
JBoss Common Classes 2.2.17.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |