You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Thomas (JIRA)" <ji...@apache.org> on 2009/12/18 22:16:38 UTC
[jira] Created: (COLLECTIONS-347) [contribution] LimitedSizeFifoMap
[contribution] LimitedSizeFifoMap
---------------------------------
Key: COLLECTIONS-347
URL: https://issues.apache.org/jira/browse/COLLECTIONS-347
Project: Commons Collections
Issue Type: New Feature
Components: Map
Reporter: Michael Thomas
Priority: Minor
The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
The patch contains:
* the marker interface {{LimitedSizeMap}}
* the fully documented implementation {{LimitedSizeFifoMap}}, which deletes oldest items first
* the accompanying unit test
If you find anything that needs improvement, please let me know.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COLLECTIONS-347) [contribution] LimitedSizeFifoMap
Posted by "Michael Thomas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COLLECTIONS-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Thomas updated COLLECTIONS-347:
---------------------------------------
Attachment: LimitedSizeFifoMap.patch
> [contribution] LimitedSizeFifoMap
> ---------------------------------
>
> Key: COLLECTIONS-347
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-347
> Project: Commons Collections
> Issue Type: New Feature
> Components: Map
> Reporter: Michael Thomas
> Priority: Minor
> Attachments: LimitedSizeFifoMap.patch
>
>
> The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
> The patch contains:
> * the marker interface {{LimitedSizeMap}}
> * the fully documented implementation {{LimitedSizeFifoMap}}, which deletes oldest items first
> * the accompanying unit test
> If you find anything that needs improvement, please let me know.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COLLECTIONS-347) [contribution] LimitedSizeFifoMap
Posted by "Michael Thomas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COLLECTIONS-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Thomas updated COLLECTIONS-347:
---------------------------------------
Description:
The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
The patch contains:
* the interface {{LimitedSizeMap}}
* the fully documented implementation {{LimitedSizeFifoMap}}, which deletes the oldest items first
* the accompanying unit test
If you find anything that needs improvement, please let me know.
was:
The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
The patch contains:
* the marker interface {{LimitedSizeMap}}
* the fully documented implementation {{LimitedSizeFifoMap}}, which deletes oldest items first
* the accompanying unit test
If you find anything that needs improvement, please let me know.
> [contribution] LimitedSizeFifoMap
> ---------------------------------
>
> Key: COLLECTIONS-347
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-347
> Project: Commons Collections
> Issue Type: New Feature
> Components: Map
> Reporter: Michael Thomas
> Priority: Minor
> Attachments: LimitedSizeFifoMap.patch, LimitedSizeFifoMap.patch
>
>
> The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
> The patch contains:
> * the interface {{LimitedSizeMap}}
> * the fully documented implementation {{LimitedSizeFifoMap}}, which deletes the oldest items first
> * the accompanying unit test
> If you find anything that needs improvement, please let me know.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COLLECTIONS-347) [contribution] LimitedSizeFifoMap
Posted by "Michael Thomas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COLLECTIONS-347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Thomas updated COLLECTIONS-347:
---------------------------------------
Attachment: LimitedSizeFifoMap.patch
Added getter for entry limit.
> [contribution] LimitedSizeFifoMap
> ---------------------------------
>
> Key: COLLECTIONS-347
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-347
> Project: Commons Collections
> Issue Type: New Feature
> Components: Map
> Reporter: Michael Thomas
> Priority: Minor
> Attachments: LimitedSizeFifoMap.patch, LimitedSizeFifoMap.patch
>
>
> The {{LimitedSizeFifoMap}} never exceeds a given element limit by deleting old entries, whenever new ones are inserted. It may be of use for caches holding memory-intense objects (it is for me, anyway).
> The patch contains:
> * the marker interface {{LimitedSizeMap}}
> * the fully documented implementation {{LimitedSizeFifoMap}}, which deletes oldest items first
> * the accompanying unit test
> If you find anything that needs improvement, please let me know.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.