public interface RestoreManager
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeRestores()
Look for restorations which have expired, and perform final cleanup actions
|
Restoration |
get(String restorationId) |
Restoration |
getBySnapshotId(String snapshotId)
Retrieves a restoration based on the ID of the snapshot being restored
|
void |
init(RestoreManagerConfig config,
SnapshotJobManager jobManager) |
Restoration |
restoreCompleted(String restorationId)
Called by the process responsible for performing the restoration from
DPN to Bridge Storage upon completion of the transfer.
|
Restoration |
restoreSnapshot(String snapshotId,
DuracloudEndPointConfig destination,
String userEmail)
Initiates the restoration of a snapshot.
|
Restoration |
transitionRestoreStatus(String restorationId,
org.duracloud.snapshot.dto.RestoreStatus status,
String message)
Transition the workflow status of the restore activity to a new status
|
void init(RestoreManagerConfig config, SnapshotJobManager jobManager)
config - jobManager - Restoration restoreSnapshot(String snapshotId, DuracloudEndPointConfig destination, String userEmail) throws SnapshotNotFoundException, SnapshotInProcessException, SnapshotException
snapshotId - destination - userEmail - SnapshotNotFoundExceptionSnapshotInProcessExceptionSnapshotExceptionRestoration restoreCompleted(String restorationId) throws SnapshotNotFoundException, SnapshotInProcessException, NoRestorationInProcessException, SnapshotException
restorationId - SnapshotNotFoundExceptionSnapshotInProcessExceptionNoRestorationInProcessExceptionSnapshotExceptionRestoration get(String restorationId) throws RestorationNotFoundException
restorationId - RestorationNotFoundExceptionRestoration transitionRestoreStatus(String restorationId, org.duracloud.snapshot.dto.RestoreStatus status, String message) throws InvalidStateTransitionException, RestorationNotFoundException
restorationId - status - message - InvalidStateTransitionExceptionRestorationNotFoundExceptionRestoration getBySnapshotId(String snapshotId) throws RestorationNotFoundException
snapshotId - RestorationNotFoundExceptionvoid finalizeRestores()
Copyright © 2014–2015 DuraSpace. All rights reserved.