org.castor.cache.hashbelt.reaper
Interface Reaper<K,V>
- Type Parameters:
K - the type of keys maintained by this cacheV - the type of cached values
- All Known Implementing Classes:
- AbstractReaper, NotifyingReaper, NullReaper, RefreshingReaper, ReinsertingReaper
public interface 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.
- Since:
- 1.0
- Version:
- $Revision: 9040 $ $Date: 2011-08-16 08:26:59 +0200 (Di, 16 Aug 2011) $
- Author:
- Gregory Block
|
Method Summary |
void |
handleExpiredContainer(Container<K,V> expiredContainer)
Methode called with a container that has expired before the container is garbage
collected. |
handleExpiredContainer
void handleExpiredContainer(Container<K,V> expiredContainer)
- Methode called with a container that has expired before the container is garbage
collected.
- Parameters:
expiredContainer - The container that has expired.
Copyright © 2012. All Rights Reserved.