@Component public class SnapshotManagerImpl extends Object implements SnapshotManager
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_DAYS_IN_CLEANUP |
protected static String[] |
METADATA_FILENAMES |
| Constructor and Description |
|---|
SnapshotManagerImpl() |
public static final int MAX_DAYS_IN_CLEANUP
protected static String[] METADATA_FILENAMES
public void setSnapshotContentItemRepo(SnapshotContentItemRepo snapshotContentItemRepo)
snapshotContentItemRepo - the snapshotContentItemRepo to setpublic void setSnapshotRepo(SnapshotRepo snapshotRepo)
snapshotRepo - the snapshotRepo to setpublic void setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager)
notificationManager - the notificationManager to setpublic void setSnapshotTaskClientHelper(SnapshotTaskClientHelper snapshotTaskClientHelper)
snapshotTaskClientHelper - the snapshotTaskClientHelper to setpublic void setBridgeConfig(BridgeConfiguration bridgeConfig)
bridgeConfig - the bridgeConfig to set@Transactional public void addContentItem(Snapshot snapshot, String contentId, Map<String,String> props) throws SnapshotException
addContentItem in interface SnapshotManagerSnapshotException@Transactional public Snapshot addAlternateSnapshotIds(Snapshot snapshot, List<String> alternateIds) throws AlternateIdAlreadyExistsException
addAlternateSnapshotIds in interface SnapshotManagerAlternateIdAlreadyExistsException@Transactional public Snapshot transferToDpnNodeComplete(String snapshotId) throws SnapshotException
transferToDpnNodeComplete in interface SnapshotManagerSnapshotException@Transactional public Snapshot transferError(String snapshotId, String errorDetails) throws SnapshotException
transferError in interface SnapshotManagerSnapshotException@Transactional public void finalizeSnapshots()
finalizeSnapshots in interface SnapshotManager@Transactional public Snapshot updateHistory(Snapshot snapshot, String history)
updateHistory in interface SnapshotManagerpublic void setStoreClientHelper(StoreClientHelper storeClientHelper)
storeClientHelper - the storeClientHelper to set@Transactional public void deleteSnapshot(String snapshotId)
deleteSnapshot in interface SnapshotManagerpublic void setSecondsBetweenCleanupFailureNotifications(long secondsBetweenCleanupFailureNotifications)
secondsBetweenCleanupFailureNotifications - the secondsBetweenCleanupFailureNotifications to setCopyright © 2014–2016 DuraSpace. All rights reserved.