org.codehaus.wadi.impl
Class DummyEvicter

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

public class DummyEvicter
extends AbstractEvicter


Constructor Summary
DummyEvicter()
           
 
Method Summary
 void evict()
           
 void insert(Evictable evictable)
           
 void remove(Evictable evictable)
           
 void setLastAccessedTime(Evictable evictable, long oldTime, long newTime)
           
 void setMaxInactiveInterval(Evictable evictable, int oldInterval, int newInterval)
           
 boolean test(Evictable evictable, long time, long ttl)
           
 
Methods inherited from class org.codehaus.wadi.impl.AbstractEvicter
destroy, init, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyEvicter

public DummyEvicter()
Method Detail

evict

public void evict()

test

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

setLastAccessedTime

public void setLastAccessedTime(Evictable evictable,
                                long oldTime,
                                long newTime)

setMaxInactiveInterval

public void setMaxInactiveInterval(Evictable evictable,
                                   int oldInterval,
                                   int newInterval)

insert

public void insert(Evictable evictable)

remove

public void remove(Evictable evictable)


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