public class ConcurrentLFUCache<K,V> extends Object
Constructor and Description |
---|
ConcurrentLFUCache(int maxSize) |
ConcurrentLFUCache(int maxSize,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
long |
evictCount() |
int |
expectedSize() |
V |
get(K key) |
long |
hitCount() |
int |
maxSize() |
long |
missCount() |
protected void |
onRemove(K key,
V value) |
void |
put(K key,
V value) |
long |
putCount() |
int |
size() |
String |
toString() |
public ConcurrentLFUCache(int maxSize)
public ConcurrentLFUCache(int maxSize, float loadFactor)