[
https://issues.apache.org/jira/browse/OAK-8702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955825#comment-16955825
]
Julian Reschke edited comment on OAK-8702 at 1/25/23 11:50 AM:
---------------------------------------------------------------
trunk: (1.20.0)
[a392f647a3|https://github.com/apache/jackrabbit-oak/commit/a392f647a33fe3a72f287d5019bba5619e57e677]
[3b5ebaa732|https://github.com/apache/jackrabbit-oak/commit/3b5ebaa732e1abb2ca55bf97add11ef61701c595]
1.22: (1.20.0)
[a392f647a3|https://github.com/apache/jackrabbit-oak/commit/a392f647a33fe3a72f287d5019bba5619e57e677]
[3b5ebaa732|https://github.com/apache/jackrabbit-oak/commit/3b5ebaa732e1abb2ca55bf97add11ef61701c595]
was (Author: reschke):
trunk: [r1868679|http://svn.apache.org/r1868679]
[r1868678|http://svn.apache.org/r1868678]
> deprecate Guava based APIs in o.a.j.o.cache
> --------------------------------------------
>
> Key: OAK-8702
> URL: https://issues.apache.org/jira/browse/OAK-8702
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: core-spi
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
> Fix For: 1.20.0
>
> Attachments: OAK-8702.diff, cache-removal.diff
>
>
> There are multiple classes here; but it seems the most important one is
> {{CacheLIRS}}, where the other ones are related to that.
> {{CacheLIRS}} implements the Guava {{Cache}} API.
> In a perfect world, we would implement new variants which do not rely on that
> API but are "sufficiently" compatible. Unfortunately, that would mean adding
> own APIs that replicate the Guava API. Furthermore, due to the way the caches
> work, there are quite a few support API (Loader, Weicher, Stats etc) that
> would need to be added as well.
> The classes are currently used in three other parts of Oak, and hopefully not
> anywhere else. The best way forward seems to me to leave them untouched, but
> stop exporting the packages. Other users inside Oak would need to embed
> copies of the ~5 classes for now. [^cache-removal.diff] demonstrates how
> that would work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)