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) |
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() |
Copyright © 2015 The Apache Software Foundation