Class ConversionCacheGCManager

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

@Deprecated(since="2025.0", forRemoval=true) public class ConversionCacheGCManager extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.0, ConversionCacheGCTask handles everything
Manages GC processing to clean up disk cache.
Author:
tiry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    doGC(long deltaInKB)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static int
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MAX_DISK_SPACE_USAGE_KEY

      public static final String MAX_DISK_SPACE_USAGE_KEY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • MAX_DISK_SPACE_USAGE_KB

      public static final long MAX_DISK_SPACE_USAGE_KB
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • getMaxDiskSpaceUsageKB

      protected static int getMaxDiskSpaceUsageKB()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGCRuns

      public static int getGCRuns()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGCCalls

      public static int getGCCalls()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCacheSizeInKB

      public static long getCacheSizeInKB()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • gcIfNeeded

      public static boolean gcIfNeeded()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doGC

      public static void doGC(long deltaInKB)
      Deprecated, for removal: This API element is subject to removal in a future version.