|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the interface a class must conform to in order to be scheduled by Cron. Cron needs to know just two things: When the next event will occur at or after a certain time and secondly, what to do when that event occurs.
| Method Summary | |
void |
execute()
When an event occurs, what should be done? |
long |
nextEvent(long from)
When will the next event occur that is equal to or later than from. |
| Method Detail |
public long nextEvent(long from)
from - a time expressed in milliseconds as per the Date class.
public void execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||