K
- key typeV
- value typepublic interface CacheElement<K,V>
Cache
.Modifier and Type | Method and Description |
---|---|
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.
|
int getRefreshTime()
refresh()
method is called.refresh()
void refresh()
V get(K key)
key
- some unique key