Class SimpleLRUCache<K extends Comparable,V>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<K,V>
org.apache.phoenix.util.SimpleLRUCache<K,V>
All Implemented Interfaces:
Serializable, ConcurrentMap<K,V>, Map<K,V>

public class SimpleLRUCache<K extends Comparable,V> extends ConcurrentHashMap<K,V>
Minimal Cache implementation based on ConcurrentHashMap. The maxSize logic will only work if all access is via the the computeIfAbsent() method.
See Also: