|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemoryCacheAware<K,V>
Interface for memory cache
Method Summary | |
---|---|
void |
clear()
Remove all items from cache |
V |
get(K key)
Returns value by key. |
java.util.Collection<K> |
keys()
Returns all keys of cache |
boolean |
put(K key,
V value)
Puts value into cache by key |
void |
remove(K key)
Removes item by key |
Method Detail |
---|
boolean put(K key, V value)
V get(K key)
void remove(K key)
java.util.Collection<K> keys()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |