public interface SnapshotJobManager
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_LAUNCHER_KEY |
static String |
JOB_REPOSITORY_KEY |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelRestore(String restoreId)
Stops the restore process and removes source content and destination space.
|
void |
cancelSnapshot(String snapshotId)
Cancels a snapshot
|
org.springframework.batch.core.BatchStatus |
executeRestoration(String restorationId) |
org.springframework.batch.core.BatchStatus |
executeSnapshot(String snapshotId)
This method creates an underlying job and executes it.
|
org.springframework.batch.core.BatchStatus |
getStatus(String snapshotId) |
void |
init(SnapshotJobManagerConfig duracloudCredential)
Lazily initializes the component.
|
boolean |
isInitialized() |
Restoration |
stopRestore(String restoreId)
Stops the restore process but leaves underlying file system and destination space
intact.
|
static final String JOB_REPOSITORY_KEY
static final String JOB_LAUNCHER_KEY
void init(SnapshotJobManagerConfig duracloudCredential) throws AlreadyInitializedException
duracloudCredential - AlreadyInitializedException - if the service is already initialized.boolean isInitialized()
org.springframework.batch.core.BatchStatus executeSnapshot(String snapshotId) throws SnapshotException
snapshotId - SnapshotExceptionorg.springframework.batch.core.BatchStatus getStatus(String snapshotId) throws SnapshotNotFoundException, SnapshotException
snapshotId - SnapshotNotFoundExceptionSnapshotExceptionorg.springframework.batch.core.BatchStatus executeRestoration(String restorationId) throws SnapshotException
restorationId - SnapshotExceptionvoid cancelSnapshot(String snapshotId) throws SnapshotException
snapshotId - SnapshotExceptionvoid cancelRestore(String restoreId) throws SnapshotException
restoreId - SnapshotExceptionRestoration stopRestore(String restoreId) throws SnapshotException
restoreId - SnapshotExceptionCopyright © 2014–2018 DuraSpace. All rights reserved.