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

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

public class MostRecentlyUsedEvictionAlgorithm
extends Object
implements EvictionAlgorithm

MRU cache eviction algorithm


Constructor Summary
MostRecentlyUsedEvictionAlgorithm()
           
 
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

MostRecentlyUsedEvictionAlgorithm

public MostRecentlyUsedEvictionAlgorithm()
Method Detail

getEntryForEviction

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


Copyright © 2014 WSO2 Inc. All rights reserved.