Class BitIntegrityCheckTaskProcessor

  • All Implemented Interfaces:
    TaskProcessor

    public class BitIntegrityCheckTaskProcessor
    extends TaskProcessorBase
    This class processes bit integrity check tasks. The logic for this block of code is specified here: https://wiki.duraspace.org/display/DSPINT/Bit+Integrity+Check+Logic+Version+2
    Author:
    Daniel Bernstein Date: 10/15/2014
    • Constructor Detail

      • BitIntegrityCheckTaskProcessor

        public BitIntegrityCheckTaskProcessor​(BitIntegrityCheckTask bitTask,
                                              org.duracloud.storage.provider.StorageProvider store,
                                              org.duracloud.mill.manifest.ManifestStore manifestStore,
                                              org.duracloud.storage.domain.StorageProviderType storageProviderType,
                                              BitLogStore bitLogStore,
                                              org.duracloud.common.queue.TaskQueue bitErrorQueue,
                                              org.duracloud.common.queue.TaskQueue auditTaskQueue,
                                              ContentChecksumHelper checksumHelper)
    • Method Detail

      • sleep

        protected static void sleep()
      • setPenultimateWaitMS

        public static void setPenultimateWaitMS​(long milliseconds)
        Sets the number of milliseconds that the processor should wait before abandoning the task. Default is 5 minutes.
        Parameters:
        milliseconds - to wait