org.gjt.rec.util
Interface ObjectPool.Listener
- Enclosing interface:
- ObjectPool
- public static interface ObjectPool.Listener
The interface implemented by objects that wish to be notified when they
are removed from an object pool.
Method Summary |
void |
notifyRemovedFromPool()
Invoked to indicate to an object that an object pool is dropping all
references to it, and that it should probably destroy itself. |
notifyRemovedFromPool
public void notifyRemovedFromPool()
- Invoked to indicate to an object that an object pool is dropping all
references to it, and that it should probably destroy itself.