org.mule.transport.polling.schedule
Class PollScheduler<T extends Runnable>
java.lang.Object
org.mule.transport.polling.schedule.PollScheduler<T>
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, NameableObject, NamedObject, Scheduler
- Direct Known Subclasses:
- CronScheduler, FixedFrequencyScheduler
public abstract class PollScheduler<T extends Runnable>
- extends Object
- implements Scheduler
Abstract definition of a Scheduler for poll.
- Since:
- 3.5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mule.api.lifecycle.Startable |
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
stop |
job
protected T extends Runnable job
name
protected String name
The Scheduler
name used as an identifier in the MuleRegistry
PollScheduler
protected PollScheduler(String name,
T job)
setName
public void setName(String name)
- Description copied from interface:
NameableObject
- Sets the name of the object
- Specified by:
setName
in interface NameableObject
- Parameters:
name
- the name of the object
getName
public String getName()
- Description copied from interface:
NamedObject
- Gets the name of the object
- Specified by:
getName
in interface NamedObject
- Returns:
- the name of the object
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.