public interface PeriodicExecutor
Schedule.| Modifier and Type | Method and Description |
|---|---|
PeriodicJob |
addJob(Schedule schedule,
String name,
Runnable job)
Adds a job to be executed.
|
void |
init()
Initializes this service.
|
PeriodicJob addJob(Schedule schedule, String name, Runnable job)
ParallelExecutor.invoke(org.apache.tapestry5.ioc.Invokable)), as determined by the schedule.schedule - defines when the job will next executename - a name used in debugging output related to the jobjob - a Runnable object that represents the work to be donevoid init()
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.