Class DataStoreCacheUtils

java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.DataStoreCacheUtils

@Deprecated(since="2024-09-23") public class DataStoreCacheUtils extends Object
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Common utility methods used for DataStore caches.
  • Constructor Details

    • DataStoreCacheUtils

      public DataStoreCacheUtils()
      Deprecated.
  • Method Details

    • recursiveDelete

      public static void recursiveDelete(File f, File root) throws IOException
      Deprecated.
      Delete the file from the given root directory all its empty parent-directories.
      Parameters:
      f - the file to be deleted
      Throws:
      IOException
    • getFile

      public static File getFile(String id, File root)
      Deprecated.
      Obtain a placeholder in the file system folder for the given identifier.
      Parameters:
      id - of the file
      Returns:
      file handle