public class DataStoreCacheUpgradeUtils
extends java.lang.Object
CachingDataStore.| Constructor and Description |
|---|
DataStoreCacheUpgradeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
moveDownloadCache(java.io.File path)
Move the DataStore downloaded cache files to the appropriate folder used by the new cache
FileCache |
static void |
movePendingUploadsToStaging(java.io.File homeDir,
java.io.File path,
boolean deleteMap)
Move the pending uploads read from the de-serialized map to the appropriate directory
used by the
UploadStagingCache. |
static void |
upgrade(java.io.File homeDir,
java.io.File path,
boolean moveCache,
boolean deleteMap)
Upgrades the
CachingDataStore. |
public static void moveDownloadCache(java.io.File path)
FileCachepath - the root of the datastorepublic static void movePendingUploadsToStaging(java.io.File homeDir,
java.io.File path,
boolean deleteMap)
UploadStagingCache.homeDir - the repository home directorypath - the root of the datastoredeleteMap - flag indicating whether to delete the pending upload map after upgradepublic static void upgrade(java.io.File homeDir,
java.io.File path,
boolean moveCache,
boolean deleteMap)
CachingDataStore.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 upgradeCopyright © 2010 - 2023 Adobe. All Rights Reserved