Community

Cache in Java With LRU Eviction Policy

(Sunil P V) LRU (or Least Recently Used) is a cache eviction strategy, wherein if the cache size has reached the maximum allocated capacity, the least recently accessed objects in the cache will be evicted.