org.castor.cache.hashbelt.reaper
Class AbstractReaper

java.lang.Object
  extended by org.castor.cache.hashbelt.reaper.AbstractReaper
All Implemented Interfaces:
Reaper
Direct Known Subclasses:
NotifyingReaper, NullReaper, RefreshingReaper, ReinsertingReaper

public abstract class AbstractReaper
extends java.lang.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

Constructor Summary
AbstractReaper()
           
 
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
 
Methods inherited from interface org.castor.cache.hashbelt.reaper.Reaper
handleExpiredContainer
 

Constructor Detail

AbstractReaper

public AbstractReaper()
Method Detail

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.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com