Class DataStoreCacheUtils
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.DataStoreCacheUtils
Common utility methods used for DataStore caches.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataStoreCacheUtils
public DataStoreCacheUtils()
-
-
Method Details
-
recursiveDelete
Delete the file from the given root directory all its empty parent-directories.- Parameters:
f
- the file to be deleted- Throws:
IOException
-
getFile
Obtain a placeholder in the file system folder for the given identifier.- Parameters:
id
- of the file- Returns:
- file handle
-