|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheStrategy<K,V>
CacheStrategy.java.
This interface will be implemented by all classes which will support a caching strategy.
Method Summary | |
---|---|
void |
clear()
Clear all cache contents. |
void |
destroy()
Perform the clean up. |
V |
get(K key)
Restore a value from the cache. |
void |
put(K key,
V value)
Put a value in the cache using a key. |
Method Detail |
---|
void put(K key, V value)
key
- Object.value
- Object.V get(K key)
key
- Object
void clear()
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |