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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/02/16 10:14:18 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15148304#comment-15148304 ]
Thomas Mueller commented on OAK-3997:
-------------------------------------
As for oak-core/src/main/java/org/apache/jackrabbit/oak/cache/package-info.java: I think we don't want to use package-info for 1.4, see also OAK-3842 where most of those files where removed.
Other than that, the patches look good to me.
> 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
> Fix For: 1.4, 1.2.12
>
> 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)