Package org.castor.cache.hashbelt.reaper
-
Interface Summary Interface Description Reaper Reapers implement a single method - they are called with a container that has expired, and told to perform an action on the expired container before the container is garbage collected. -
Class Summary Class Description AbstractReaper Abstract base class all reapers have to extend.NotifyingReaper Does the obvious: Calls a handleExpiredObject method for each object in the container.NullReaper The simplest of all possible expiration handlers.RefreshingReaper Calls a refresh method on each object in the container; it reinserts any returned object to the front of the expiration system.ReinsertingReaper A hybrid of the notifying and refreshing reaper; like the notifying reaper, this calls handleExpiredObject for the object; like the refreshing reaper, it then reinserts it in the front of the expiration system.