org.apache.axis2.deployment.scheduler
Class Scheduler
java.lang.Object
org.apache.axis2.deployment.scheduler.Scheduler
public class Scheduler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scheduler
public Scheduler()
schedule
public void schedule(SchedulerTask schedulerTask,
DeploymentIterator iterator)
- Schedules the specified task for execution according to the specified schedule.
If times specified by the
ScheduleIterator
are in the past they are
scheduled for immediate execution.
- Parameters:
schedulerTask
- task to be schedulediterator
- iterator that describes the schedule
- Throws:
IllegalStateException
- if task was already scheduled or cancelled,
scheduler was cancelled, or scheduler thread terminated.
cleanup
public void cleanup(SchedulerTask schedulerTask)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.