WILL_NOT_BE_EXECUTED_AGAIN, willNeverBeExecuted| Constructor and Description |
|---|
AfterInitialDelaySchedule(Schedule baseSchedule,
Duration initialDelay) |
| Modifier and Type | Method and Description |
|---|---|
Schedule |
baseSchedule() |
long |
nextExecutionInMillis(long currentTimeInMillis,
int executionsCount,
Long lastExecutionTimeInMillis)
Compute the next execution time for a job.
|
String |
toString() |
public long nextExecutionInMillis(long currentTimeInMillis,
int executionsCount,
Long lastExecutionTimeInMillis)
SchedulenextExecutionInMillis in interface SchedulecurrentTimeInMillis - The current time in milliseconds. This time must be used if
a next execution is planned for the jobexecutionsCount - The number of times a job has already been executedlastExecutionTimeInMillis - The time at which the job has last been executed; will be null
if the job has never been executedcurrentTimeInMillis.
If the returned value is negative, the job will not be executed again.public Schedule baseSchedule()
Copyright © 2023 Coreoz. All rights reserved.