Class 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

      Constructors 
      Constructor Description
      AbstractReaper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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.