Package org.castor.cache.hashbelt.reaper

Interface Summary
Reaper<K,V> 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
AbstractReaper<K,V> Abstract base class all reapers have to extend.
NotifyingReaper<K,V> Does the obvious: Calls a handleExpiredObject method for each object in the container.
NullReaper<K,V> The simplest of all possible expiration handlers.
RefreshingReaper<K,V> Calls a refresh method on each object in the container; it reinserts any returned object to the front of the expiration system.
ReinsertingReaper<K,V> 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.
 



Copyright © 2012. All Rights Reserved.