Revision 477,
833 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe.scheduling.plugin; |
---|
| 2 | |
---|
| 3 | import schedframe.Plugin; |
---|
| 4 | import schedframe.events.scheduling.SchedulingEvent; |
---|
| 5 | import schedframe.scheduling.WorkloadUnitListImpl; |
---|
| 6 | import schedframe.scheduling.manager.resources.ResourceManager; |
---|
| 7 | import schedframe.scheduling.manager.tasks.JobRegistry; |
---|
| 8 | import schedframe.scheduling.plan.SchedulingPlanInterface; |
---|
| 9 | import schedframe.scheduling.plugin.grid.ModuleList; |
---|
| 10 | import schedframe.scheduling.queue.TaskQueueList; |
---|
| 11 | |
---|
| 12 | public interface SchedulingPlugin extends Plugin{ |
---|
| 13 | |
---|
| 14 | public int placeJobsInQueues(WorkloadUnitListImpl newJobs, |
---|
| 15 | TaskQueueList queues, |
---|
| 16 | ResourceManager resourceManager, ModuleList modules); |
---|
| 17 | |
---|
| 18 | public SchedulingPlanInterface<?> schedule(SchedulingEvent event, |
---|
| 19 | TaskQueueList queues, |
---|
| 20 | JobRegistry jobRegistry, |
---|
| 21 | ResourceManager resourceManager, ModuleList modules); |
---|
| 22 | |
---|
| 23 | } |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.