|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SchedulerListener
Implement this interface and register your instance with the
Scheduler.addSchedulerListener(SchedulerListener) method to receive
notifications about scheduled task executions.
| Method Summary | |
|---|---|
void |
taskFailed(TaskExecutor executor,
java.lang.Throwable exception)
This one is called by the scheduler to notify that a task execution has failed. |
void |
taskLaunching(TaskExecutor executor)
This one is called by the scheduler when a task execution is starting. |
void |
taskSucceeded(TaskExecutor executor)
This one is called by the scheduler to notify that a task execution has been successfully completed. |
| Method Detail |
|---|
void taskLaunching(TaskExecutor executor)
executor - The task executor.void taskSucceeded(TaskExecutor executor)
executor - The task executor.
void taskFailed(TaskExecutor executor,
java.lang.Throwable exception)
executor - The task executor.exception - The exception representing the failure notification.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||