Class ConversionCacheHolder

java.lang.Object
org.nuxeo.ecm.core.convert.cache.ConversionCacheHolder

public class ConversionCacheHolder extends Object
Manager for the cache system of the ConversionService.
Author:
tiry
  • Field Details

  • Method Details

    • getCacheHits

      public static long getCacheHits()
    • getNbCacheEntries

      public static int getNbCacheEntries()
    • getSubPathFromKey

      protected static List<String> getSubPathFromKey(String key)
    • getCacheEntryPath

      protected static String getCacheEntryPath(String key)
    • addToCache

      public static void addToCache(String key, BlobHolder result)
    • doAddToCache

      protected static void doAddToCache(String key, BlobHolder result)
    • removeFromCache

      public static void removeFromCache(String key)
    • doRemoveFromCache

      protected static void doRemoveFromCache(String key)
    • getCacheEntry

      public static ConversionCacheEntry getCacheEntry(String key)
    • doGetCacheEntry

      protected static ConversionCacheEntry doGetCacheEntry(String key)
    • getFromCache

      public static BlobHolder getFromCache(String key)
    • doGetFromCache

      protected static BlobHolder doGetFromCache(String key)
    • getCacheKeys

      public static Set<String> getCacheKeys()
    • deleteCache

      @Deprecated(since="2025.0", forRemoval=true) public static void deleteCache()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2025.0, use clearCache() instead
      Since:
      6.0
    • clearCache

      public static void clearCache()
      Since:
      2025.0