public interface ICache<K,V> extends CacheSize
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(K key) |
V |
get(K key) |
java.util.Iterator<K> |
hotKeyIterator(int n) |
java.util.Iterator<K> |
keyIterator() |
void |
put(K key,
V value) |
boolean |
putIfAbsent(K key,
V value) |
void |
remove(K key) |
boolean |
replace(K key,
V old,
V value) |
capacity, setCapacity, size, weightedSize
Copyright © 2009- The Apache Software Foundation