public abstract class NotifyingReaper extends AbstractReaper
At the end, the objects in the container have been expired and there's no record of them in the hashbelt.
Constructor and Description |
---|
NotifyingReaper() |
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 void |
handleExpiredObject(Object expiredObject)
Methode called with an object that has expired before it is garbage collected.
|
getCache, setCache
public final void handleExpiredContainer(Container expiredContainer)
expiredContainer
- The container that has expired.protected abstract void handleExpiredObject(Object expiredObject)
expiredObject
- The object that has expired.Copyright © 2018. All rights reserved.