| Package | Description | 
|---|---|
| org.openmrs.scheduler | |
| org.openmrs.scheduler.timer | 
| Modifier and Type | Method and Description | 
|---|---|
Task | 
TaskFactory.createInstance(TaskDefinition taskDefinition)
Creates a new instance of Schedulable used to run tasks. 
 | 
void | 
SchedulerService.rescheduleAllTasks()
Loop over all currently started tasks and cycle them. 
 | 
Task | 
SchedulerService.rescheduleTask(TaskDefinition task)
Stop and start a scheduled task. 
 | 
Task | 
SchedulerService.scheduleTask(TaskDefinition task)
Start a scheduled task as specified in a TaskDefinition. 
 | 
void | 
SchedulerService.shutdownTask(TaskDefinition task)
Cancel a scheduled task. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TimerSchedulerServiceImpl.rescheduleAllTasks()
Loop over all currently started tasks and cycle them. 
 | 
Task | 
TimerSchedulerServiceImpl.rescheduleTask(TaskDefinition taskDefinition)  | 
Task | 
TimerSchedulerServiceImpl.scheduleTask(TaskDefinition taskDefinition)
Schedule the given task according to the given schedule. 
 | 
void | 
TimerSchedulerServiceImpl.shutdownTask(TaskDefinition taskDefinition)
Stops a running task. 
 | 
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.