Class Scheduler
java.lang.Object
org.apache.axis2.deployment.scheduler.Scheduler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(SchedulerTask schedulerTask) voidschedule(SchedulerTask schedulerTask, DeploymentIterator iterator) Schedules the specified task for execution according to the specified schedule.
-
Constructor Details
-
Scheduler
public Scheduler()
-
-
Method Details
-
schedule
Schedules the specified task for execution according to the specified schedule. If times specified by theScheduleIteratorare 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
-