Class Scheduler
- java.lang.Object
-
- org.apache.axis2.deployment.scheduler.Scheduler
-
public class Scheduler extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Scheduler.SchedulerTimerTask
-
Constructor Summary
Constructors Constructor Description Scheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(SchedulerTask schedulerTask)
void
schedule(SchedulerTask schedulerTask, DeploymentIterator iterator)
Schedules the specified task for execution according to the specified schedule.
-
-
-
Method Detail
-
schedule
public void schedule(SchedulerTask schedulerTask, DeploymentIterator iterator)
Schedules the specified task for execution according to the specified schedule. If times specified by theScheduleIterator
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)
-
-