Class SimpleDispatcher

java.lang.Object
org.dspace.checker.SimpleDispatcher
All Implemented Interfaces:
BitstreamDispatcher

public class SimpleDispatcher extends Object implements BitstreamDispatcher
An implementation of the selection strategy that selects bitstreams in the order that they were last checked, looping endlessly.
Author:
Jim Downing, Grace Carpenter, Nathan Sarr
  • Field Details

    • loopContinuously

      protected boolean loopContinuously
      Should this dispatcher keep on dispatching around the collection?
    • processStartTime

      protected Instant processStartTime
      Date this dispatcher started dispatching.
    • checksumService

      protected MostRecentChecksumService checksumService
      Access for bitstream information
    • context

      protected Context context
  • Constructor Details

    • SimpleDispatcher

      public SimpleDispatcher(Context context, Instant startTime, boolean looping)
      Creates a new SimpleDispatcher.
      Parameters:
      context - Context
      startTime - timestamp for beginning of checker process
      looping - indicates whether checker should loop infinitely through most_recent_checksum table
  • Method Details