|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - key typeV - value typepublic interface CacheElement<K,V>
An interface that must be implemented by any object that must be registered into the Cache.
| Method Summary | |
|---|---|
V |
get(K key)
The cached entry is most probably a hash of some sort. |
int |
getRefreshTime()
The desired refresh time, in seconds. |
void |
refresh()
Update the contents of the cache entry. |
| Method Detail |
|---|
int getRefreshTime()
refresh() method is called.
refresh()void refresh()
V get(K key)
key - some unique key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||