Class 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 Detail

      • loopContinuously

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

        protected Date processStartTime
        Date this dispatcher started dispatching.
      • context

        protected Context context
    • Constructor Detail

      • SimpleDispatcher

        public SimpleDispatcher​(Context context,
                                Date 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