org.wso2.carbon.caching.impl.eviction
Class RandomEvictionAlgorithm
java.lang.Object
org.wso2.carbon.caching.impl.eviction.RandomEvictionAlgorithm
- All Implemented Interfaces:
- EvictionAlgorithm
public class RandomEvictionAlgorithm
- extends Object
- implements EvictionAlgorithm
Random cache eviction algorithm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomEvictionAlgorithm
public RandomEvictionAlgorithm()
getEntryForEviction
public CacheEntry getEntryForEviction(TreeSet<CacheEntry> evictionSet)
- Specified by:
getEntryForEviction in interface EvictionAlgorithm
Copyright © 2014 WSO2 Inc. All rights reserved.