Class SnapshotManagerImpl

  • All Implemented Interfaces:
    SnapshotManager

    @Component
    public class SnapshotManagerImpl
    extends java.lang.Object
    implements SnapshotManager
    Author:
    Daniel Bernstein Date: Jul 31, 2014
    • Field Detail

      • METADATA_FILENAMES

        protected static java.lang.String[] METADATA_FILENAMES
    • Constructor Detail

      • SnapshotManagerImpl

        public SnapshotManagerImpl()
    • Method Detail

      • setSnapshotContentItemRepo

        protected void setSnapshotContentItemRepo​(SnapshotContentItemRepo snapshotContentItemRepo)
        For testing purposes only
        Parameters:
        snapshotContentItemRepo - the snapshotContentItemRepo to set
      • setSnapshotRepo

        protected void setSnapshotRepo​(SnapshotRepo snapshotRepo)
        For testing purposes only
        Parameters:
        snapshotRepo - the snapshotRepo to set
      • setNotificationManager

        protected void setNotificationManager​(org.duracloud.common.notification.NotificationManager notificationManager)
        For testing purposes only
        Parameters:
        notificationManager - the notificationManager to set
      • setSnapshotTaskClientHelper

        protected void setSnapshotTaskClientHelper​(SnapshotTaskClientHelper snapshotTaskClientHelper)
        For testing purposes only
        Parameters:
        snapshotTaskClientHelper - the snapshotTaskClientHelper to set
      • setBridgeConfig

        protected void setBridgeConfig​(BridgeConfiguration bridgeConfig)
        Parameters:
        bridgeConfig - the bridgeConfig to set
      • setEventLog

        protected void setEventLog​(EventLog eventLog)
        For testing purposes only
        Parameters:
        eventLog - the event log
      • setStoreClientHelper

        public void setStoreClientHelper​(StoreClientHelper storeClientHelper)
        Parameters:
        storeClientHelper - the storeClientHelper to set
      • deleteSnapshot

        @Transactional
        public void deleteSnapshot​(java.lang.String snapshotId)
        Specified by:
        deleteSnapshot in interface SnapshotManager
      • setSecondsBetweenCleanupFailureNotifications

        public void setSecondsBetweenCleanupFailureNotifications​(long secondsBetweenCleanupFailureNotifications)
        Parameters:
        secondsBetweenCleanupFailureNotifications - the secondsBetweenCleanupFailureNotifications to set