org.castor.cache.hashbelt.reaper
public abstract class ReinsertingReaper extends AbstractReaper
Useful for alerts and announcements. E.g. suppose you're supposed to send someone an update every 15 minutes. Use this one and an object that sends the message inside its "expire" method.
Since: 1.0
Version: $Revision: 6230 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Method Summary | |
---|---|
void | handleExpiredContainer(Container expiredContainer) |
protected abstract void | handleExpiredObject(Object expiredObject)
Methode called with an object that has expired before it is garbage collected.
|
See Also: Reaper
Parameters: expiredObject The object that has expired.