org.wso2.carbon.caching.impl.eviction
Class LeastRecentlyUsedEvictionAlgorithm

java.lang.Object
  extended by org.wso2.carbon.caching.impl.eviction.LeastRecentlyUsedEvictionAlgorithm
All Implemented Interfaces:
EvictionAlgorithm

public class LeastRecentlyUsedEvictionAlgorithm
extends Object
implements EvictionAlgorithm

LRU cache eviction algorithm


Constructor Summary
LeastRecentlyUsedEvictionAlgorithm()
           
 
Method Summary
 CacheEntry getEntryForEviction(TreeSet<CacheEntry> evictionList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeastRecentlyUsedEvictionAlgorithm

public LeastRecentlyUsedEvictionAlgorithm()
Method Detail

getEntryForEviction

public CacheEntry getEntryForEviction(TreeSet<CacheEntry> evictionList)
Specified by:
getEntryForEviction in interface EvictionAlgorithm


Copyright © 2014 WSO2 Inc. All rights reserved.