Class JobProcessorService

  • All Implemented Interfaces:
    IJobProcessor

    public class JobProcessorService
    extends CayenneService
    implements IJobProcessor
    Provides a Job Processor Service for processing all Collaboration Jobs
    Since:
    20.11.0
    • Constructor Detail

      • JobProcessorService

        public JobProcessorService()
    • Method Detail

      • processJobs

        public void processJobs()
        Description copied from interface: IJobProcessor
        Process the list of collaboration jobs in the system that are ready to be processed.
        Specified by:
        processJobs in interface IJobProcessor
      • interruptProcessing

        public void interruptProcessing()
        Description copied from interface: IJobProcessor
        Interrupt ongoing job processing. This does not happen instantaneously, but the service will check at suitable occasions (e.g. after processing a job) and stop processing.
        Specified by:
        interruptProcessing in interface IJobProcessor
      • setUnitTest

        public JobProcessorService setUnitTest()
        The unit tests sets this value to avoid time delays in job processing.
        Returns:
        this Job Processor Service