org.opensync.engine.server
Class TasksScheduler
java.lang.Object
org.opensync.schedule.Scheduler
org.opensync.engine.server.TasksScheduler
- All Implemented Interfaces:
- java.lang.Runnable, java.io.Serializable
- public class TasksScheduler
- extends Scheduler
This object represents the task scheduler of the OpenSync application
- See Also:
- Serialized Form
|
Constructor Summary |
TasksScheduler(int httpPort)
Construct the TaskScheduler object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TasksScheduler
public TasksScheduler(int httpPort)
- Construct the
TaskScheduler object
- Parameters:
httpPort - the http port used to execute task by http request
schedule
public void schedule(Agendas agendas,
boolean hot)
- Schedule all tasks of all agenda
- Parameters:
agendas - all agendas of the config filehot - says if it is a hot start
schedule
public void schedule(Agenda agenda,
boolean hot)
- Schedule all tasks of the agenda
- Parameters:
agenda - the agenda to scheduleshot - says if it is a hot start
schedule
public void schedule(Task task,
Schedule schedule,
boolean hot)
- Schedule a task
- Parameters:
task - the task to scheduleschedule - the information for scheduling the taskhot - says if it is a hot start
Copyright © 2004 sourceforge. All Rights Reserved.