|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CronJob
CronJobs are simply 'Runnable' but also have a init-method, which is called by CronDaemon. It is wrapped a CronEntry first.
| Method Summary | |
|---|---|
CronEntry |
getEntry()
|
void |
init(CronEntry cronEntry)
If the CronJobs needs some initializing before the first run, then that can be put in this. |
void |
run()
This is the method which is repeatedly called. |
void |
stop()
If after the last run of the job, there need to be shutdown things, then that can be done here. |
| Method Detail |
|---|
void init(CronEntry cronEntry)
void stop()
void run()
run in interface RunnableCronEntry getEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||