public static class TimedScheduler.TimedSchedulerFactory extends java.lang.Object implements Scheduler.ISchedulerFactory
Constructor and Description |
---|
TimedSchedulerFactory(long interval)
Creates a scheduler factory with the given interval.
|
Modifier and Type | Method and Description |
---|---|
long |
getInterval() |
Scheduler |
prepareScheduler(Executor engine)
Creates a scheduler for the given executor.
|
void |
setInterval(long interval) |
public TimedSchedulerFactory(long interval)
interval
- public void setInterval(long interval)
interval
- the interval to setpublic long getInterval()
public Scheduler prepareScheduler(Executor engine)
Scheduler.ISchedulerFactory
prepareScheduler
in interface Scheduler.ISchedulerFactory