org.codehaus.wadi.impl
Class AlwaysEvicter

java.lang.Object
  extended byorg.codehaus.wadi.impl.AbstractEvicter
      extended byorg.codehaus.wadi.impl.AbstractBestEffortEvicter
          extended byorg.codehaus.wadi.impl.AlwaysEvicter
All Implemented Interfaces:
Evicter, Lifecycle

public class AlwaysEvicter
extends AbstractBestEffortEvicter

An Evicter which always evicts

Version:
$Revision: 1139 $
Author:
Jules Gosnell

Field Summary
 
Fields inherited from class org.codehaus.wadi.impl.AbstractBestEffortEvicter
_config, _lockLog, _log, _strictOrdering, _sweepInterval, _task
 
Constructor Summary
AlwaysEvicter(int sweepInterval, boolean strictOrdering)
           
 
Method Summary
 boolean test(Evictable evictable, long time, long ttl)
           
 
Methods inherited from class org.codehaus.wadi.impl.AbstractBestEffortEvicter
destroy, evict, getComparator, init, insert, remove, setLastAccessedTime, setMaxInactiveInterval, start, stop
 
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

test

public boolean test(Evictable evictable,
                    long time,
                    long ttl)


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.