org.codehaus.wadi.impl
Class NeverEvicter

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

public class NeverEvicter
extends AbstractBestEffortEvicter

An Evicter which never evicts (except explicitly invalidated sessions).

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
NeverEvicter(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

NeverEvicter

public NeverEvicter(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.