Action
- the schedulable action class to handlepublic interface Scheduler<Action extends Schedulable>
A schedulable action must be reschedule when a RecoverableError is raised.
An example of implementation is provided in the ExponentialBackoffScheduler
Modifier and Type | Method and Description |
---|---|
void |
launch(Action scheduled)
Launch an action from the queue.
|
void launch(Action scheduled) throws InterruptedException, FatalError
scheduled
- the action to launchInterruptedException
- if the scheduler thread is interruptedFatalError
- if the action could not be executed or rescheduled after a RecoverableErrorCopyright © 2010–2025 The DAISY Consortium. All rights reserved.