public class QuartzSchedulerThread
extends java.lang.Thread
The thread responsible for performing the work of firing
s that are registered with the Trigger
.
QuartzScheduler
QuartzScheduler
,
Job
,
Trigger
Modifier and Type | Method and Description |
---|---|
void |
clearSignaledSchedulingChange() |
void |
errorTriggerRetryLoop(TriggerFiredBundle bndle) |
org.apache.commons.logging.Log |
getLog() |
long |
getSignaledNextFireTime() |
boolean |
isScheduleChanged() |
void |
releaseTriggerRetryLoop(Trigger trigger) |
void |
run()
The main processing loop of the
QuartzSchedulerThread . |
void |
setDbFailureRetryInterval(long dbFailureRetryInterval) |
void |
signalSchedulingChange(long candidateNewNextFireTime)
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.
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void setDbFailureRetryInterval(long dbFailureRetryInterval)
public void signalSchedulingChange(long candidateNewNextFireTime)
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.
newNextTime
- the time (in millis) when the newly scheduled trigger
will fire. If this method is being called do to some other even (rather
than scheduling a trigger), the caller should pass zero (0).public void clearSignaledSchedulingChange()
public boolean isScheduleChanged()
public long getSignaledNextFireTime()
public void run()
The main processing loop of the QuartzSchedulerThread
.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void errorTriggerRetryLoop(TriggerFiredBundle bndle)
public void releaseTriggerRetryLoop(Trigger trigger)
public org.apache.commons.logging.Log getLog()