Class DataStoreCacheUtils
- java.lang.Object
 - 
- org.apache.jackrabbit.oak.plugins.blob.DataStoreCacheUtils
 
 
- 
public class DataStoreCacheUtils extends java.lang.ObjectCommon utility methods used for DataStore caches. 
- 
- 
Constructor Summary
Constructors Constructor Description DataStoreCacheUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FilegetFile(java.lang.String id, java.io.File root)Obtain a placeholder in the file system folder for the given identifier.static voidrecursiveDelete(java.io.File f, java.io.File root)Delete the file from the given root directory all its empty parent-directories. 
 - 
 
- 
- 
Method Detail
- 
recursiveDelete
public static void recursiveDelete(java.io.File f, java.io.File root) throws java.io.IOExceptionDelete the file from the given root directory all its empty parent-directories.- Parameters:
 f- the file to be deleted- Throws:
 java.io.IOException
 
- 
getFile
public static java.io.File getFile(java.lang.String id, java.io.File root)Obtain a placeholder in the file system folder for the given identifier.- Parameters:
 id- of the file- Returns:
 - file handle
 
 
 - 
 
 -