You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "l0co (JIRA)" <ji...@apache.org> on 2013/05/08 15:11:15 UTC
[jira] [Created] (COLLECTIONS-467) LRUMap remove callback
l0co created COLLECTIONS-467:
--------------------------------
Summary: LRUMap remove callback
Key: COLLECTIONS-467
URL: https://issues.apache.org/jira/browse/COLLECTIONS-467
Project: Commons Collections
Issue Type: New Feature
Affects Versions: 3.2
Reporter: l0co
Priority: Minor
If you use LRUMap with objects that require doing some disposal when they are dropped (eg. close()) and you hold these objects only in LRUMap, you cannot do it with current implementation. I propose to add onRemove() and onAdd() methods to the implementation, so that you can create anonymous inherited class and be able to react to these events.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira