|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.jcrontab.Cron
This class represents the Thread that loads the information from the DAO's and maintains the list of events to execute by the Crontab.
| Field Summary | |
static java.util.Properties |
prop
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Cron()
Constructor of a Cron. |
|
Cron(Crontab cront,
int iTimeTableGenerationFrec)
Constructor of a Cron |
|
| Method Summary | |
void |
generateEvents()
Generates new time table entries (for new events). |
void |
run()
105a160,166 Runs the Cron Thread. |
static void |
stopInTheNextMinute()
Tell The system that should stop |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.util.Properties prop
| Constructor Detail |
public Cron()
public Cron(Crontab cront,
int iTimeTableGenerationFrec)
cront - Crontab The Crontab that the cron must call to generate
new tasksiTimeTableGenerationFrec - int Frecuency of generation of new time table
entries.| Method Detail |
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void stopInTheNextMinute()
java.lang.Exceptionpublic void generateEvents()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||