Class QueueMoverJob

  • All Implemented Interfaces:

    public class QueueMoverJob
    extends java.lang.Object
    implements Job
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start​(java.util.Properties properties, JobTerminationListener jobTerminationListener)
      Starts a Job.
      void stop()
      Stops a Job asynchronously.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • start

        public void start​(java.util.Properties properties,
                          JobTerminationListener jobTerminationListener)
                   throws JobException
        Description copied from interface: Job
        Starts a Job. This method might block until the Job finished or it might return immediately. The Job is marked as running until the Job calls the JobTerminationListener or the Scheduler Swiftlet calles the stop method.
        Specified by:
        start in interface Job
        properties - parameter values
        jobTerminationListener - JobTerminationListener
        JobException - on error
      • stop

        public void stop()
                  throws JobException
        Description copied from interface: Job
        Stops a Job asynchronously. The Job is marked as terminated thereafter. This method must not block. The stop method is called when the maximum runtime for the Job is reached or for Scheduler Swiftlet internal reasons, e.g. a re-schedule or a router shutdown.
        Specified by:
        stop in interface Job
        JobException - on error
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object