public interface ICache<K,V>
Modifier and Type | Method and Description |
---|---|
long |
capacity() |
void |
clear() |
boolean |
containsKey(K key) |
V |
get(K key) |
java.util.Set<K> |
hotKeySet(int n) |
boolean |
isPutCopying() |
java.util.Set<K> |
keySet() |
void |
put(K key,
V value) |
boolean |
putIfAbsent(K key,
V value) |
void |
remove(K key) |
boolean |
replace(K key,
V old,
V value) |
void |
setCapacity(long capacity) |
int |
size() |
long |
weightedSize() |
long capacity()
void setCapacity(long capacity)
void remove(K key)
int size()
long weightedSize()
void clear()
java.util.Set<K> keySet()
java.util.Set<K> hotKeySet(int n)
boolean containsKey(K key)
boolean isPutCopying()
Copyright © 2013 The Apache Software Foundation