@NoExtend public abstract class PeriodicScheduler extends org.mule.runtime.api.component.AbstractComponent implements Scheduler, org.mule.runtime.api.source.SchedulerConfiguration
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) |
public final ScheduledFuture<?> schedule(org.mule.runtime.api.scheduler.Scheduler executor, Runnable job)
schedule in interface org.mule.runtime.api.scheduler.SchedulingStrategyprotected 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–2021 MuleSoft, Inc.. All rights reserved.