public abstract class PeriodicScheduler extends Object implements SchedulingStrategy
org.mule.runtime.core.api.schedule.SchedulerFactory.| Constructor and Description |
|---|
PeriodicScheduler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ScheduledFuture<?> |
doSchedule(org.mule.runtime.api.scheduler.Scheduler executor,
Runnable job)
Template method to delegate the scheduling of the job.
|
ScheduledFuture<?> |
schedule(org.mule.runtime.api.scheduler.Scheduler executor,
Runnable job)
Schedules a job.
|
public final ScheduledFuture<?> schedule(org.mule.runtime.api.scheduler.Scheduler executor, Runnable job)
schedule in interface SchedulingStrategyexecutor - the corresponding Scheduler instance.job - The Runnable job that has to be executed.protected abstract ScheduledFuture<?> doSchedule(org.mule.runtime.api.scheduler.Scheduler executor, Runnable job)
executor - the corresponding Scheduler instance.job - The Runnable job that has to be executed.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.