public static interface TimedCachePolicy.TimedEntry
Modifier and Type | Method and Description |
---|---|
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.
|
void init(long now)
now
- boolean isCurrent(long now)
now
- boolean refresh()
void destroy()
Object getValue()
Copyright © 2018 JBoss by Red Hat. All rights reserved.