Class LeastRecentlyUsedEvictionAlgorithm
- java.lang.Object
-
- org.wso2.carbon.caching.impl.eviction.LeastRecentlyUsedEvictionAlgorithm
-
- All Implemented Interfaces:
EvictionAlgorithm
public class LeastRecentlyUsedEvictionAlgorithm extends Object implements EvictionAlgorithm
LRU cache eviction algorithm
-
-
Constructor Summary
Constructors Constructor Description LeastRecentlyUsedEvictionAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheEntrygetEntryForEviction(TreeSet<CacheEntry> evictionList)
-
-
-
Method Detail
-
getEntryForEviction
public CacheEntry getEntryForEviction(TreeSet<CacheEntry> evictionList)
- Specified by:
getEntryForEvictionin interfaceEvictionAlgorithm
-
-