public class FixedFrequencyScheduler extends PeriodicScheduler
PeriodicScheduler for a fixed-frequency job.| Constructor and Description |
|---|
FixedFrequencyScheduler() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledFuture<?> |
doSchedule(org.mule.runtime.api.scheduler.Scheduler executor,
Runnable job)
Template method to delegate the scheduling of the job.
|
void |
setFrequency(long frequency) |
void |
setStartDelay(long startDelay) |
void |
setTimeUnit(TimeUnit timeUnit) |
schedulepublic ScheduledFuture<?> doSchedule(org.mule.runtime.api.scheduler.Scheduler executor, Runnable job)
PeriodicSchedulerdoSchedule in class PeriodicSchedulerexecutor - the corresponding Scheduler instance.job - The Runnable job that has to be executed.public void setTimeUnit(TimeUnit timeUnit)
public void setFrequency(long frequency)
public void setStartDelay(long startDelay)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.