Rishabh Daim created OAK-12159:
----------------------------------

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


Migrate all cache usages in oak-blob-plugins from CacheLIRS / Guava shim to 
OakCache.

  Changes:
  - FileCache — CacheLIRS.newBuilder() → OakCacheBuilder.newBuilder(); Cache → 
OakCache; CacheLIRS.EvictionCallback → OakRemovalListener; stats via 
OakCacheStatsAdapter
  - UploadStagingCache — update cache types
  - CompositeDataStoreCache — update cache types
  - AbstractSharedCachingDataStore — update cache types
  - CachingBlobStore — update cache types
  - DataStoreCacheUpgradeUtils — update cache types
  - Update all callers catching ExecutionException to handle 
CompletionException/RuntimeException

  Acceptance criteria:
  - No org.apache.jackrabbit.guava.common.cache imports in 
oak-blob-plugins/src/main/java
  - No CacheLIRS references in oak-blob-plugins/src/main/java
  - File cache eviction/deletion behavior unchanged
  - All blob-plugins cache tests pass



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

Reply via email to