You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/02/19 17:04:18 UTC
[jira] [Closed] (OAK-3997) Include eviction cause to the LIRS
removal callback
[ https://issues.apache.org/jira/browse/OAK-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-3997.
---------------------------------
Bulk close for 1.3.16
> Include eviction cause to the LIRS removal callback
> ---------------------------------------------------
>
> Key: OAK-3997
> URL: https://issues.apache.org/jira/browse/OAK-3997
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: cache
> Reporter: Tomek Rękawek
> Assignee: Marcel Reutegger
> Labels: candidate_oak_1_2
> Fix For: 1.3.16
>
> Attachments: OAK-3997-1.2.patch, OAK-3997-trunk.patch
>
>
> Enhance the {{EvictionCallback#evicted()}} method with a new argument: {{cause}}. It may be a Guava {{com.google.common.cache.RemovalCause}}, even though the {{COLLECTED}} and {{EXPIRED}} won't be used, as LIRS cache doesn't support weak values and TTL yet.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)