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 "Julian Reschke (Jira)" <ji...@apache.org> on 2025/07/05 08:58:00 UTC

[jira] [Created] (OAK-11791) Gradually replace Guava Cache by javax.cache interfaces

Julian Reschke created OAK-11791:
------------------------------------

             Summary: Gradually replace Guava Cache by javax.cache interfaces
                 Key: OAK-11791
                 URL: https://issues.apache.org/jira/browse/OAK-11791
             Project: Jackrabbit Oak
          Issue Type: Task
            Reporter: Julian Reschke


1. CacheLIRS implements the Guava caching interfaces, but does not use any Guava implementation code.
2. We could move CacheLIRS code into an internal class, and let CacheLIRS still use Guava cache interfaces.
3. Then implement a new class bases on javax.cache interfaces
4. Gradually migrate uses of the Guava Cache interfaces to the javax.cache interfaces and the new implementation
5. When done, remove old code

For existing APIs, the main differences appear to be thrown Exceptions and return values (boolean vs values)

[~thomasm] - what do you think?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)