org.codehaus.wadi.core.eviction
Class AbstractEvicter

java.lang.Object
  extended by org.codehaus.wadi.core.eviction.AbstractEvicter
All Implemented Interfaces:
Evicter
Direct Known Subclasses:
AbstractBestEffortEvicter, DummyEvicter

public abstract class AbstractEvicter
extends java.lang.Object
implements Evicter

Abstract base for Evicters.

Version:
$Revision: 2267 $
Author:
Jules Gosnell

Constructor Summary
AbstractEvicter(int sweepInterval)
           
 
Method Summary
 void cancel(java.util.TimerTask timerTask)
           
 void schedule(java.util.Timer timer, java.util.TimerTask timerTask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.wadi.core.eviction.Evicter
evict, testForDemotion
 

Constructor Detail

AbstractEvicter

public AbstractEvicter(int sweepInterval)
Method Detail

schedule

public void schedule(java.util.Timer timer,
                     java.util.TimerTask timerTask)
Specified by:
schedule in interface Evicter

cancel

public void cancel(java.util.TimerTask timerTask)
Specified by:
cancel in interface Evicter


Copyright © 2010. All Rights Reserved.