Package 

Class ConcurrentLRUCache

    • Constructor Detail

      • ConcurrentLRUCache

        ConcurrentLRUCache(Integer capacity)
      • ConcurrentLRUCache

        ConcurrentLRUCache(Duration ttl, Integer capacity)
        Construct a least recently used cache
        Parameters:
        ttl - Time to live for items
        capacity - The max size of the cache
      • ConcurrentLRUCache

        ConcurrentLRUCache(Long ttl, Integer capacity)
        Construct a least recently used cache
        Parameters:
        ttl - Time to live for items, in seconds
        capacity - The max size of the cache