org.mule.transport.polling.schedule
Class FixedFrequencySchedulerFactory<T extends Runnable>
java.lang.Object
org.mule.api.schedule.SchedulerFactory<T>
org.mule.transport.polling.schedule.FixedFrequencySchedulerFactory<T>
- All Implemented Interfaces:
- MuleContextAware
public class FixedFrequencySchedulerFactory<T extends Runnable>
- extends SchedulerFactory<T>
Implementation of SchedulerFactory for a FixedFrequencyScheduler.
- Since:
- 3.5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedFrequencySchedulerFactory
public FixedFrequencySchedulerFactory()
doCreate
protected Scheduler doCreate(String name,
T job)
- Description copied from class:
SchedulerFactory
Template method to delegate the creation of the Scheduler. This method is thought to create an instance
of a Scheduler. It should not Start/Stop it.
- Specified by:
doCreate in class SchedulerFactory<T extends Runnable>
job - The Job the Scheduler is going to execute
- Returns:
- The
Scheduler instance
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)
setFrequency
public void setFrequency(long frequency)
setStartDelay
public void setStartDelay(long startDelay)
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.