[ https://issues.apache.org/jira/browse/OAK-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Rękawek updated OAK-3997: ------------------------------- Fix Version/s: 1.2.11 > 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.11 > > 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)