Class SimpleLRUCache<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<K,V>
org.apache.camel.support.cache.SimpleLRUCache<K,V>
Type Parameters:
K - type of the key
V - type of the value
All Implemented Interfaces:
Serializable, ConcurrentMap<K,V>, Map<K,V>

public class SimpleLRUCache<K,V> extends ConcurrentHashMap<K,V>
SimpleLRUCache is a simple implementation of a cache of type Least Recently Used . The implementation doesn't accept null values. Generally speaking, the parameters of all the public methods must have a value otherwise a NullPointerException is thrown.
See Also: