public interface Schedule
PeriodicExecutor
to control the schedule for when jobs execute.Modifier and Type | Method and Description |
---|---|
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.
|
long firstExecution()
long nextExecution(long previousExecution)
previousExecution
- time of previous execution (in system clock millis)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.