You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Aaron Smuts (JIRA)" <ji...@apache.org> on 2008/08/27 21:51:44 UTC

[jira] Closed: (JCS-43) 3 new eviction policies

     [ https://issues.apache.org/jira/browse/JCS-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Smuts closed JCS-43.
--------------------------

    Resolution: Won't Fix

Thanks for the patch, but I can't take it as is.  This patch has useful elements, but it is too big.  There were too many unexplained changes to the abstract memory cache.  The methods lacked useful comments, the code was not formatted in JCS style, the unit tests were insufficient,  I found at least one bug, and the new memory caches were too memory inefficient.  I'd like to see them as individual patches, perhaps.  We should talk about how best to implement the LFU. 

> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org