Save This Page
Home » quartz-1.6.0 » org » quartz » core » [javadoc | source]
org.quartz.core
public class: QuartzSchedulerThread [javadoc | source]
java.lang.Object
   java.lang.Thread
      org.quartz.core.QuartzSchedulerThread

All Implemented Interfaces:
    Runnable

The thread responsible for performing the work of firing Trigger s that are registered with the QuartzScheduler .

Fields inherited from java.lang.Thread:
MIN_PRIORITY,  NORM_PRIORITY,  MAX_PRIORITY
Constructor:
 QuartzSchedulerThread(QuartzScheduler qs,
    QuartzSchedulerResources qsRsrcs,
    SchedulingContext ctxt) 

    Construct a new QuartzSchedulerThread for the given QuartzScheduler as a non-daemon Thread with normal priority.

 QuartzSchedulerThread(QuartzScheduler qs,
    QuartzSchedulerResources qsRsrcs,
    SchedulingContext ctxt,
    boolean setDaemon,
    int threadPrio) 

    Construct a new QuartzSchedulerThread for the given QuartzScheduler as a Thread with the given attributes.

Method from org.quartz.core.QuartzSchedulerThread Summary:
errorTriggerRetryLoop,   getLog,   halt,   isPaused,   releaseTriggerRetryLoop,   run,   setDbFailureRetryInterval,   setIdleWaitTime,   signalSchedulingChange,   togglePause
Methods from java.lang.Thread:
activeCount,   checkAccess,   countStackFrames,   currentThread,   destroy,   dumpStack,   enumerate,   getAllStackTraces,   getContextClassLoader,   getDefaultUncaughtExceptionHandler,   getId,   getName,   getPriority,   getStackTrace,   getState,   getThreadGroup,   getUncaughtExceptionHandler,   holdsLock,   interrupt,   interrupted,   isAlive,   isDaemon,   isInterrupted,   join,   join,   join,   resume,   run,   setContextClassLoader,   setDaemon,   setDefaultUncaughtExceptionHandler,   setName,   setPriority,   setUncaughtExceptionHandler,   sleep,   sleep,   start,   stop,   stop,   suspend,   toString,   yield
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.core.QuartzSchedulerThread Detail:
 public  void errorTriggerRetryLoop(TriggerFiredBundle bndle) 
 public Log getLog() 
  void halt() 

    Signals the main processing loop to pause at the next possible point.

 boolean isPaused() 
 public  void releaseTriggerRetryLoop(Trigger trigger) 
 public  void run() 

    The main processing loop of the QuartzSchedulerThread.

 public  void setDbFailureRetryInterval(long dbFailureRetryInterval) 
  void setIdleWaitTime(long waitTime) 
  void signalSchedulingChange() 

    Signals the main processing loop that a change in scheduling has been made - in order to interrupt any sleeping that may be occuring while waiting for the fire time to arrive.

  void togglePause(boolean pause) 

    Signals the main processing loop to pause at the next possible point.