java.lang.Object
java.lang.Thread
com.opencms.core.CmsCronScheduler
- All Implemented Interfaces:
- java.lang.Runnable
- class CmsCronScheduler
- extends java.lang.Thread
This is the CronScheduler. It a deamon-thread that will be stopped
after the system has stopped. It awaiks every minute and starts
cronjobs at issue.
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
|
Method Summary |
void |
run()
The run-method of this thread awakes every minute to launch jobs at issue. |
void |
shutDown()
Shut down this instance of the CronScheduler Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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 |
m_table
private CmsCronTable m_table
- The crontable to use
m_opencms
private A_OpenCms m_opencms
- The A_OpenCms to get access to the system
m_destroyed
private boolean m_destroyed
- Flag to indicate if OpenCms has already been shut down
CmsCronScheduler
CmsCronScheduler(A_OpenCms opencms,
CmsCronTable table)
- Constructs a new scheduler.
run
public void run()
- The run-method of this thread awakes every minute to launch jobs at issue.
shutDown
public void shutDown()
- Shut down this instance of the CronScheduler Thread.