org.castor.cache.hashbelt.reaper
Class NullReaper
java.lang.Object
org.castor.cache.hashbelt.reaper.AbstractReaper
org.castor.cache.hashbelt.reaper.NullReaper
- All Implemented Interfaces:
- Reaper
public final class NullReaper
- extends AbstractReaper
The simplest of all possible expiration handlers. It does nothing.
Having said that, here's what happens when we do nothing:
- The hashbelt loses a reference to the object.
- Garbage collection has a chance to work.
The point is that, even when we do nothing, the hashbelt changes.
- Since:
- 1.0
- Version:
- $Revision: 7950 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Gregory Block
Method Summary |
void |
handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullReaper
public NullReaper()
handleExpiredContainer
public void handleExpiredContainer(Container expiredContainer)
- Methode called with a container that has expired before the container is garbage
collected.
- Parameters:
expiredContainer
- The container that has expired.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com