Class DataStoreCacheUpgradeUtils
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.DataStoreCacheUpgradeUtils
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.
Utility methods to upgrade Old DataStore cache
CachingDataStore
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
moveDownloadCache
(File path) Deprecated.Move the DataStore downloaded cache files to the appropriate folder used by the new cacheFileCache
static void
movePendingUploadsToStaging
(File homeDir, File path, boolean deleteMap) Deprecated.Move the pending uploads read from the de-serialized map to the appropriate directory used by theUploadStagingCache
.static void
Deprecated.Upgrades theCachingDataStore
.
-
Constructor Details
-
DataStoreCacheUpgradeUtils
public DataStoreCacheUpgradeUtils()Deprecated.
-
-
Method Details
-
moveDownloadCache
Deprecated.Move the DataStore downloaded cache files to the appropriate folder used by the new cacheFileCache
- Parameters:
path
- the root of the datastore
-
movePendingUploadsToStaging
Deprecated.Move the pending uploads read from the de-serialized map to the appropriate directory used by theUploadStagingCache
.- Parameters:
homeDir
- the repository home directorypath
- the root of the datastoredeleteMap
- flag indicating whether to delete the pending upload map after upgrade
-
upgrade
Deprecated.Upgrades theCachingDataStore
.- Parameters:
homeDir
- the repository home directorypath
- the root of the datastoremoveCache
- flag whether to move the downloaded cache filesdeleteMap
- flag indicating whether to delete the pending upload map after upgrade
-