|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl
public class PeriodicExecutorImpl
| Constructor Summary | |
|---|---|
PeriodicExecutorImpl(ParallelExecutor parallelExecutor,
org.slf4j.Logger logger)
|
|
| Method Summary | |
|---|---|
PeriodicJob |
addJob(Schedule schedule,
java.lang.String name,
java.lang.Runnable job)
Adds a job to be executed. |
void |
run()
|
void |
start(RegistryShutdownHub hub)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PeriodicExecutorImpl(ParallelExecutor parallelExecutor,
org.slf4j.Logger logger)
| Method Detail |
|---|
@PostInjection public void start(RegistryShutdownHub hub)
public PeriodicJob addJob(Schedule schedule,
java.lang.String name,
java.lang.Runnable job)
PeriodicExecutorParallelExecutor.invoke(org.apache.tapestry5.ioc.Invokable)), as determined by the schedule.
addJob in interface PeriodicExecutorschedule - 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 done
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||