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
  • Constructor Details

    • AbstractReaper

      public AbstractReaper()
  • Method Details

    • 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.