org.castor.cache.hashbelt.reaper
public abstract class RefreshingReaper extends AbstractReaper
Note that you must supply the implementation of the refresh method.
Constructor and Description |
---|
RefreshingReaper() |
Modifier and Type | Method and Description |
---|---|
void |
handleExpiredContainer(Container expiredContainer)
Methode called with a container that has expired before the container is garbage
collected.
|
protected abstract java.lang.Object |
refresh(java.lang.Object objectToBeRefreshed)
Function called to attempt to refresh the object.
|
getCache, setCache
public final void handleExpiredContainer(Container expiredContainer)
expiredContainer
- The container that has expired.protected abstract java.lang.Object refresh(java.lang.Object objectToBeRefreshed)
objectToBeRefreshed
- The object to be refreshed.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com