Class IndependentBackupRestoreJobManager
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.IndependentBackupRestoreJobManager
-
public class IndependentBackupRestoreJobManager extends Object
A service that performs operations with backup/restore jobs, their settings and statistics in separate transactions to ensure proper concurrent processing.- Since:
- 8.6.0
-
-
Constructor Summary
Constructors Constructor Description IndependentBackupRestoreJobManager(BackupRestoreJobDao backupRestoreJobDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupRestoreJob
createAndSaveNewJob(ExecutorService executorService, JobOperation jobOperation, JobScope jobScope, JobState jobState, Instant createTime, String owner, BackupRestoreSettings backupRestoreSettings)
BackupRestoreSettings
createAndSaveNewJobSettingsRecord(ExecutorService executorService, long jobId, BackupRestoreSettings backupRestoreSettings)
BackupRestoreSettings
getSettingsById(ExecutorService executorService, long jobId)
-
-
-
Constructor Detail
-
IndependentBackupRestoreJobManager
public IndependentBackupRestoreJobManager(BackupRestoreJobDao backupRestoreJobDao)
-
-
Method Detail
-
getSettingsById
public BackupRestoreSettings getSettingsById(ExecutorService executorService, long jobId)
-
createAndSaveNewJob
public BackupRestoreJob createAndSaveNewJob(ExecutorService executorService, JobOperation jobOperation, JobScope jobScope, JobState jobState, Instant createTime, String owner, BackupRestoreSettings backupRestoreSettings)
-
createAndSaveNewJobSettingsRecord
public BackupRestoreSettings createAndSaveNewJobSettingsRecord(ExecutorService executorService, long jobId, BackupRestoreSettings backupRestoreSettings)
-
-