Path getDiskStoreDirectory(DiskStore diskStore, DirectoryHolder dirHolder) throws IOException {
    Map<DirectoryHolder, Path> tempDirByDirectoryHolder =
        diskStoreDirDirsByDiskStore.computeIfAbsent(diskStore, k -> new HashMap<>());
    Path directory = tempDirByDirectoryHolder.get(dirHolder);
    if (directory != null) {
      return directory;
    }

    File diskStoreDir = dirHolder.getDir();
    directory = diskStoreDir.toPath().resolve(diskStoreDirectoryName);
    Files.createDirectories(directory);
    tempDirByDirectoryHolder.put(dirHolder, directory);
    return directory;
  }
Provides, and creates if necessary, the temporary directory used during the backup for Oplog
files for the given DiskStore and DirectoryHolder

@param diskStore The corresponding {@link DiskStore} to get a temporary directory for
@param dirHolder The disk directory of the {@link DiskStore} to get a temporary directory for
@return Path to the temporary directory
@throws IOException If the temporary directory did not exist and could not be created
geode-core/src/main/java/org/apache/geode/internal/cache/backup/TemporaryBackupFiles.java