|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ScheduleListener
| Method Summary | |
|---|---|
void |
complete(Date scheduleDate,
ScheduleResult lastComplete)
Called when the job has completed successfully. |
void |
failed(Date scheduleDate)
Retries (if they exist) are exhausted. |
void |
initialised(Date scheduleDate)
Called when a ScheduleCalculator is first initialised. |
void |
retry(Date scheduleDate,
Date retryDate)
The job has failed an the retry schedule is in operation. |
| Method Detail |
|---|
void initialised(Date scheduleDate)
scheduleDate - The date the schedule is first due.
void complete(Date scheduleDate,
ScheduleResult lastComplete)
scheduleDate - The new schedule date.lastComplete - The interval of the last schedule.
void retry(Date scheduleDate,
Date retryDate)
scheduleDate - The date when the job was due to be scheduled.
This shouldn't have changed. Not sure why we need it here.retryDate - When a retry is due according to the
retry schedule.void failed(Date scheduleDate)
scheduleDate - When the job is next due according to
the schedule or null if it's not.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||