Package org.castor.cache.hashbelt.reaper
package org.castor.cache.hashbelt.reaper
-
ClassDescriptionAbstract base class all reapers have to extend.Does the obvious: Calls a handleExpiredObject method for each object in the container.The simplest of all possible expiration handlers.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.Calls a refresh method on each object in the container; it reinserts any returned object to the front of the expiration system.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.