public interface SnapshotManager
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
addAlternateSnapshotIds(Snapshot snapshot,
List<String> alternateIds)
Adds a list of snapshot alternate Id's to a snapshot.
|
void |
addContentItem(Snapshot snapshot,
String contentId,
Map<String,String> props) |
void |
deleteSnapshot(String snapshotId) |
void |
finalizeSnapshots()
This method runs through any snapshots with a status of CLEANING_UP and checks if the
corresponding space is empty.
|
Snapshot |
transferError(String snapshotId,
String errorDetails)
Notifies the bridge that the snapshot transfer action failed to complete due
to an error condition.
|
Snapshot |
transferToDpnNodeComplete(String snapshotId)
Notifies the bridge that the snapshot's transfer to DPN node is complete.
|
Snapshot |
updateHistory(Snapshot snapshot,
String history)
Updates a snapshot's DPN history
|
void addContentItem(Snapshot snapshot, String contentId, Map<String,String> props) throws SnapshotException
snapshot - contentId - props - SnapshotExceptionSnapshot addAlternateSnapshotIds(Snapshot snapshot, List<String> alternateIds) throws AlternateIdAlreadyExistsException
snapshot - alternateIds - AlternateIdAlreadyExistsExceptionSnapshot transferToDpnNodeComplete(String snapshotId) throws SnapshotException
snapshotId - SnapshotExceptionSnapshot transferError(String snapshotId, String errorDetails) throws SnapshotException
snapshotId - errorDetails - SnapshotExceptionvoid finalizeSnapshots()
Snapshot updateHistory(Snapshot snapshot, String history)
snapshot - history - void deleteSnapshot(String snapshotId)
Copyright © 2014–2015 DuraSpace. All rights reserved.