org.apache.commons.cache
Class StaleObjectEvictor
java.lang.Object
org.apache.commons.cache.StaleObjectEvictor
- All Implemented Interfaces:
- Serializable, Runnable
public class StaleObjectEvictor
- extends Object
- implements Runnable, Serializable
tk.
- Version:
- $Id: StaleObjectEvictor.java 155435 2005-02-26 13:17:27Z dirkv $
- Author:
- Rodney Waldhoff
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_OBJECTS_BETWEEN_NAPS
public static final transient int DEFAULT_OBJECTS_BETWEEN_NAPS
DEFAULT_SLEEP_TIME_MILLIS
public static final transient long DEFAULT_SLEEP_TIME_MILLIS
_objsBetweenNaps
protected int _objsBetweenNaps
_sleepTimeMillis
protected long _sleepTimeMillis
_iterator
protected CachedObjectIterator _iterator
_cancelled
protected boolean _cancelled
StaleObjectEvictor
public StaleObjectEvictor(CachedObjectIterator it)
StaleObjectEvictor
public StaleObjectEvictor(CachedObjectIterator it,
int objsBetweenNaps)
StaleObjectEvictor
public StaleObjectEvictor(CachedObjectIterator it,
long sleepTimeMillis)
StaleObjectEvictor
public StaleObjectEvictor(CachedObjectIterator it,
int objsBetweenNaps,
long sleepTimeMillis)
cancel
public void cancel()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.