[jira] Commented: (JCS-43) 3 new eviction policies
"Aaron Smuts (JIRA)" <[email protected]> Fri, 1 Aug 2008 13:47:31 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.turbine.jcs.devel |
|---|---|
| Message-ID | <338514947.1217623651718.JavaMail.jira@brutus> |
[ https://issues.apache.org/jira/browse/JCS-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619124#action_12619124 ]
Aaron Smuts commented on JCS-43:
--------------------------------
The priority list throw a null pointer exception if you remove an element that isn't present. That's not good. A one line unit test exposed this.
> 3 new eviction policies
> -----------------------
>
> Key: JCS-43
> URL: https://issues.apache.org/jira/browse/JCS-43
> Project: JCS
> Issue Type: Improvement
> Components: Composite Cache
> Affects Versions: jcs-1.3
> Reporter: Maxim Gordienko
> Assignee: Aaron Smuts
> Attachments: expiration-strategies.patch
>
>
> Patch attached to this issue contains three new eviction policies:
> LFU - least frequently used item is removed on cache overflow
> FIFO - the oldest item is removed
> Expire - item with closest expiration time is removed
> also patch refactors MemoryCache hierarchy to allow easier extension
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.