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

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

public class RandomEvictionAlgorithm
extends Object
implements EvictionAlgorithm

Random cache eviction algorithm


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

Constructor Detail

RandomEvictionAlgorithm

public RandomEvictionAlgorithm()
Method Detail

getEntryForEviction

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


Copyright © 2014 WSO2 Inc. All rights reserved.