org.castor.cache.hashbelt.reaper
Class AbstractReaper
java.lang.Object
org.castor.cache.hashbelt.reaper.AbstractReaper
- All Implemented Interfaces:
- Reaper
- Direct Known Subclasses:
- NotifyingReaper, NullReaper, RefreshingReaper, ReinsertingReaper
public abstract class AbstractReaper
- extends Object
- implements Reaper
Abstract base class all reapers have to extend. It allows the hsahbelt implementation
to pass a reference to itself to the reaper.
- Since:
- 1.0
- Version:
- $Revision: 6907 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Ralf Joachim
|
Method Summary |
Cache |
getCache()
Set the hashbelt this reaper is responsable for. |
void |
setCache(Cache owner)
Set the hashbelt this reaper is responsable for. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractReaper
public AbstractReaper()
setCache
public final void setCache(Cache owner)
- Set the hashbelt this reaper is responsable for.
- Parameters:
owner - The hashbelt.
getCache
public final Cache getCache()
- Set the hashbelt this reaper is responsable for.
- Returns:
- The hashbelt.
Copyright © 2010. All Rights Reserved.