Documentation of 'jsat.utils.concurrent.ConcurrentCacheLRU' Java class
ConcurrentCacheLRU
jsat.utils.concurrent

Class ConcurrentCacheLRU<K,V>



  • public class ConcurrentCacheLRU<K,V>
    extends java.lang.Object
    This 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) 
    • Constructor Detail

      • ConcurrentCacheLRU

        public ConcurrentCacheLRU(int max_entries)
    • Method Detail

      • putIfAbsentAndGet

        public V putIfAbsentAndGet(K key,
                                   V value)
      • put

        public void put(K key,
                        V value)
      • get

        public V get(K key)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.