Class QuartzSchedulerThread

java.lang.Object
java.lang.Thread
org.quartz.core.QuartzSchedulerThread
All Implemented Interfaces:
Runnable

public class QuartzSchedulerThread extends Thread
The thread responsible for performing the work of firing Trigger s that are registered with the QuartzScheduler.
Author:
James House
See Also:
  • Constructor Details

    • QuartzSchedulerThread

      public QuartzSchedulerThread(QuartzScheduler qs, QuartzSchedulerResources qsRsrcs)
      Construct a new QuartzSchedulerThread for the given QuartzScheduler as a non-daemon Thread with normal priority.
  • Method Details

    • togglePause

      public void togglePause(boolean pause)
      Signals the main processing loop to pause at the next possible point.
    • halt

      public void halt()
      Signals the main processing loop to pause at the next possible point.
    • isPaused

      public boolean isPaused()
    • isScheduleChanged

      public boolean isScheduleChanged()
    • getSignaledNextFireTime

      public long getSignaledNextFireTime()
    • run

      public void run()
      The main processing loop of the QuartzSchedulerThread.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread