test_class.declarator: folder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder folder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: folder
test_class.declarator: homeDir
test_class.original_string: File homeDir;
test_class.type: File
test_class.var_name: homeDir
test_class.declarator: path
test_class.original_string: File path;
test_class.type: File
test_class.var_name: path
test_class.declarator: pendingUploads
test_class.original_string: File pendingUploads;
test_class.type: File
test_class.var_name: pendingUploads
test_class.file: oak-blob-plugins/src/test/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUpgradeUtilsTest.java
test_class.identifier: DataStoreCacheUpgradeUtilsTest
test_class.superclass: extends AbstractDataStoreCacheTest
test_case.body: @Test
      public void upgradeMoveDownloadsFalse() throws Exception {
          setupUploads("1111110", "2222220", "3333330");
          setupDownloads("4444440", "5555550", "6666660");
  
          DataStoreCacheUpgradeUtils.upgrade(homeDir, path, false, true);
  
          assertFiles(UPLOAD_STAGING_DIR, "1111110", "2222220", "3333330");
          assertFalse(pendingUploads.exists());
          assertFilesNoMove(DOWNLOAD_DIR, "4444440", "5555550", "6666660");
      }
test_case.class_method_signature: DataStoreCacheUpgradeUtilsTest.upgradeMoveDownloadsFalse()
test_case.full_signature: @Test public void upgradeMoveDownloadsFalse()
test_case.identifier: upgradeMoveDownloadsFalse
test_case.invocations: setupUploads setupDownloads upgrade assertFiles assertFalse exists assertFilesNoMove
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void upgradeMoveDownloadsFalse()
focal_class.declarator: LOG = LoggerFactory.getLogger(DataStoreCacheUpgradeUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(DataStoreCacheUpgradeUtils.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: UPLOAD_MAP = "async-pending-uploads.ser"
focal_class.modifier: static final
focal_class.original_string: static final String UPLOAD_MAP = "async-pending-uploads.ser";
focal_class.type: String
focal_class.var_name: UPLOAD_MAP
focal_class.declarator: UPLOAD_STAGING_DIR = UploadStagingCache.UPLOAD_STAGING_DIR
focal_class.modifier: static final
focal_class.original_string: static final String UPLOAD_STAGING_DIR = UploadStagingCache.UPLOAD_STAGING_DIR;
focal_class.type: String
focal_class.var_name: UPLOAD_STAGING_DIR
focal_class.declarator: DOWNLOAD_DIR = FileCache.DOWNLOAD_DIR
focal_class.modifier: static final
focal_class.original_string: static final String DOWNLOAD_DIR = FileCache.DOWNLOAD_DIR;
focal_class.type: String
focal_class.var_name: DOWNLOAD_DIR
focal_class.file: oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/DataStoreCacheUpgradeUtils.java
focal_class.identifier: DataStoreCacheUpgradeUtils
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.deSerializeUploadMap(File homeDir)
focal_class.full_signature: private static Map<String, Long> deSerializeUploadMap(File homeDir)
focal_class.identifier: deSerializeUploadMap
focal_class.modifiers: private static
focal_class.parameters: (File homeDir)
focal_class.return: Map<String, Long>
focal_class.signature: Map<String, Long> deSerializeUploadMap(File homeDir)
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.deleteSerializedUploadMap(File homeDir)
focal_class.full_signature: private static void deleteSerializedUploadMap(File homeDir)
focal_class.identifier: deleteSerializedUploadMap
focal_class.modifiers: private static
focal_class.parameters: (File homeDir)
focal_class.return: void
focal_class.signature: void deleteSerializedUploadMap(File homeDir)
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.notInExceptions(File file, List<String> exceptions)
focal_class.full_signature: private static boolean notInExceptions(File file, List<String> exceptions)
focal_class.identifier: notInExceptions
focal_class.modifiers: private static
focal_class.parameters: (File file, List<String> exceptions)
focal_class.return: boolean
focal_class.signature: boolean notInExceptions(File file, List<String> exceptions)
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.moveDownloadCache(final File path)
focal_class.full_signature: public static void moveDownloadCache(final File path)
focal_class.identifier: moveDownloadCache
focal_class.modifiers: public static
focal_class.parameters: (final File path)
focal_class.return: void
focal_class.signature: void moveDownloadCache(final File path)
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.movePendingUploadsToStaging(File homeDir, File path, boolean deleteMap)
focal_class.full_signature: public static void movePendingUploadsToStaging(File homeDir, File path, boolean deleteMap)
focal_class.identifier: movePendingUploadsToStaging
focal_class.modifiers: public static
focal_class.parameters: (File homeDir, File path, boolean deleteMap)
focal_class.return: void
focal_class.signature: void movePendingUploadsToStaging(File homeDir, File path, boolean deleteMap)
focal_class.class_method_signature: DataStoreCacheUpgradeUtils.upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_class.full_signature: public static void upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_class.identifier: upgrade
focal_class.modifiers: public static
focal_class.parameters: (File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_class.return: void
focal_class.signature: void upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_method.body: public static void upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap) {
          movePendingUploadsToStaging(homeDir, path, deleteMap);
  
          if (moveCache) {
              moveDownloadCache(path);
          }
      }
focal_method.class_method_signature: DataStoreCacheUpgradeUtils.upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_method.full_signature: public static void upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_method.identifier: upgrade
focal_method.invocations: movePendingUploadsToStaging moveDownloadCache
focal_method.modifiers: public static
focal_method.parameters: (File homeDir, File path, boolean moveCache, boolean deleteMap)
focal_method.return: void
focal_method.signature: void upgrade(File homeDir, File path, boolean moveCache, boolean deleteMap)