|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schedule
Used with PeriodicExecutor
to control the schedule for when jobs execute.
Method Summary | |
---|---|
long |
firstExecution()
For a newly created job, what is the start time for the job. |
long |
nextExecution(long previousExecution)
Computes the next execution time for a job. |
Method Detail |
---|
long firstExecution()
long nextExecution(long previousExecution)
previousExecution
- time of previous execution (in system clock millis)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |