[
https://issues.apache.org/jira/browse/OAK-11946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18067666#comment-18067666
]
Rishabh Daim edited comment on OAK-11946 at 3/23/26 1:56 PM:
-------------------------------------------------------------
Hi
Based on our discussion, we have created the following high-level plan:
# Oak needs its own caching API so it is not tied to any specific
implementation, such as Guava or Caffeine.
# It shouldn't export any class/package that JDK/Oak does not provide. This is
to ensure that we can update it independently.
# We decided to use *Caffeine* as a replacement for Guava caching. {*}TODO{*}:
Decide where we can use this to replace Oak's Internal cache, CacheLIRS as well.
# Changes should be split into smaller modules, starting with modules that are
easier to migrate to the new API, and then we work up the hierarchy.
# Find, if we can negotiate the current usage of some Guava APIs based on
their requirement.
cc [~jsedding] [~reschke] [~thomasm]
was (Author: JIRAUSER299730):
Hi
Based on our discussion, we have created the following high-level plan:
# Oak needs its own caching API so it is not tied to any specific
implementation, such as Guava or Caffeine.
# It shouldn't export any class/package that JDK/Oak does not provide. This is
to ensure that we can update it independently.
# We decided to use *Caffeine* as a replacement for Guava caching. {*}TODO{*}:
Decide where we can use this to replace Oak's Internal cache, CacheLIRS as well.
# Changes should be split into smaller modules, starting with modules that are
easier to migrate to the new API, and then we work up the hierarchy.
cc [~jsedding] [~reschke] [~thomasm]
> Gradually replace Guava Cache Interfaces by Oak-specific internal APIs
> ----------------------------------------------------------------------
>
> Key: OAK-11946
> URL: https://issues.apache.org/jira/browse/OAK-11946
> Project: Jackrabbit Oak
> Issue Type: Task
> Reporter: Julian Reschke
> Assignee: Rishabh Daim
> Priority: Major
>
> These would be identical to the Guava interfaces - modulo package names -
> potentially stripped of unused stuff.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)