[
https://issues.apache.org/jira/browse/SOLR-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-1006:
----------------------------------------
Description:
This is to make ConcurrentLRUCache more consistent with LinkedHashMap behavior
# remove must not call evictionListener.evictedEntry()
# -EvictionListener must be able prevent eviction of an element by returning a
false.-
# Add a new method Map getOldestItems(long n)
was:
This is to make ConcurrentLRUCache more consistent with LinkedHashMap behavior
# remove must not call evictionListener.evictedEntry()
# EvictionListener must be able prevent eviction of an element by returning a
false.
# Add a new method Map getOldestItems(long n)
I don't have a a use-case for this anymore. Let us close this issue.
> ConcurrentLRUCache API improvements
> -----------------------------------
>
> Key: SOLR-1006
> URL: https://issues.apache.org/jira/browse/SOLR-1006
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-1006.patch, SOLR-1006.patch
>
>
> This is to make ConcurrentLRUCache more consistent with LinkedHashMap behavior
> # remove must not call evictionListener.evictedEntry()
> # -EvictionListener must be able prevent eviction of an element by returning
> a false.-
> # Add a new method Map getOldestItems(long n)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.