org.codehaus.wadi.core.eviction
Class AlwaysEvicter

java.lang.Object
  extended by org.codehaus.wadi.core.eviction.AbstractEvicter
      extended by org.codehaus.wadi.core.eviction.AbstractBestEffortEvicter
          extended by org.codehaus.wadi.core.eviction.AlwaysEvicter
All Implemented Interfaces:
Evicter

public class AlwaysEvicter
extends AbstractBestEffortEvicter

An Evicter which always evicts

Version:
$Revision: 2267 $
Author:
Jules Gosnell

Field Summary
 
Fields inherited from class org.codehaus.wadi.core.eviction.AbstractBestEffortEvicter
log, strictOrdering
 
Constructor Summary
AlwaysEvicter(int sweepInterval, boolean strictOrdering)
           
 
Method Summary
 boolean testForDemotion(Motable motable, long time, long ttl)
           
 
Methods inherited from class org.codehaus.wadi.core.eviction.AbstractBestEffortEvicter
demote, evict, expire, getComparator, identifyDemotionsAndExpirations, isReadyToDemote, isReadyToExpire, sortCandidates
 
Methods inherited from class org.codehaus.wadi.core.eviction.AbstractEvicter
cancel, schedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysEvicter

public AlwaysEvicter(int sweepInterval,
                     boolean strictOrdering)
Method Detail

testForDemotion

public boolean testForDemotion(Motable motable,
                               long time,
                               long ttl)


Copyright © 2010. All Rights Reserved.