Class BitpreservationUpdateThread

  • All Implemented Interfaces:
    Runnable

    public class BitpreservationUpdateThread
    extends Thread
    Class for threading a bitpreservation update into a thread.
    • Field Detail

      • log

        protected static final org.slf4j.Logger log
        The log.
    • Constructor Detail

      • BitpreservationUpdateThread

        public BitpreservationUpdateThread​(Replica replica,
                                           BitpreservationUpdateType updateType)
                                    throws ArgumentNotValid
        Constructor for the BitpreservationUpdateThread.
        Parameters:
        replica - The given replica to work on.
        updateType - The type of update requested.
        Throws:
        ArgumentNotValid - If either the Replica or the BitpreservationUpdateType is null.
    • Method Detail

      • run

        public void run()
        Starts the updatethread thread.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread