org.wso2.carbon.caching.impl.eviction
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeastRecentlyUsedEvictionAlgorithm
public LeastRecentlyUsedEvictionAlgorithm()
getEntryForEviction
public CacheEntry getEntryForEviction(TreeSet<CacheEntry> evictionList)
- Specified by:
getEntryForEviction in interface EvictionAlgorithm
Copyright © 2014 WSO2 Inc. All rights reserved.