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 "Rishabh Daim (Jira)" <ji...@apache.org> on 2026/03/24 02:59:00 UTC

[jira] [Created] (OAK-12149) Migrate oak-blob-cloud to Oak Cache API

Rishabh Daim created OAK-12149:
----------------------------------

             Summary: Migrate oak-blob-cloud to Oak Cache API
                 Key: OAK-12149
                 URL: https://issues.apache.org/jira/browse/OAK-12149
             Project: Jackrabbit Oak
          Issue Type: Sub-task
            Reporter: Rishabh Daim
            Assignee: Rishabh Daim


Migrate S3Backend in oak-blob-cloud from Guava shim cache to OakCache.

  Changes:
  - Replace CacheBuilder.newBuilder()...build() with OakCacheBuilder.newBuilder()...build()
  - Replace Cache<DataIdentifier, URI> field type with OakCache<DataIdentifier, URI>
  - Update callers of cache.get(key, callable) catching ExecutionException to use Function<? super K, ? extends V> and handle CompletionException/RuntimeException
  - Remove all org.apache.jackrabbit.guava.common.cache imports from src/main/java

  Acceptance criteria:
  - No org.apache.jackrabbit.guava.common.cache imports in oak-blob-cloud/src/main/java
  - S3Backend presigned URI caching tests pass



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