Class RJobProcessor


  • public class RJobProcessor
    extends Object
    Processes enqueued RJobs in a FCFS manner.
    • Method Detail

      • enqueue

        public void enqueue​(RJob job)
        Enqueues the given job for processing by this job processor.
        Parameters:
        job - the job to be scheduled for processing
      • start

        public void start()
        Starts processing enqueued jobs.
      • waitUntilFinished

        public void waitUntilFinished()
        Waits until all jobs left in this processor's queue have been processed. This effectively stops the calling thread.