jsat.utils.concurrent
Class ConcurrentCacheLRU<K,V>
- java.lang.Object
-
- jsat.utils.concurrent.ConcurrentCacheLRU<K,V>
-
public class ConcurrentCacheLRU<K,V> extends java.lang.ObjectThis class defines a Concurrent LRU cache. The current implementation may not be the most consistent, as it uses a time stamp from last access to determine LRU items. It is also designed for read-heavy work loads
-
-
Constructor Summary
Constructors Constructor and Description ConcurrentCacheLRU(int max_entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Vget(K key)voidput(K key, V value)VputIfAbsentAndGet(K key, V value)
-
DataMelt 3.0 © DataMelt by jWork.ORG