- Timestamp:
- 10/08/12 10:23:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/example/localplugin/BaseLocalSchedulingPlugin.java
r478 r481 10 10 import schedframe.resources.units.ResourceUnit; 11 11 import schedframe.resources.units.ResourceUnitName; 12 import schedframe.scheduling. WorkloadUnitListImpl;12 import schedframe.scheduling.TaskListImpl; 13 13 import schedframe.scheduling.manager.resources.ResourceManager; 14 14 import schedframe.scheduling.manager.tasks.JobRegistryImpl; … … 22 22 import schedframe.scheduling.queue.TaskQueueList; 23 23 import schedframe.scheduling.tasks.TaskInterface; 24 import schedframe.scheduling.tasks.WorkloadUnit;25 24 import schemas.StringValueWithUnit; 26 25 … … 46 45 } 47 46 48 public int place JobsInQueues(WorkloadUnitListImpl newJobs,47 public int placeTasksInQueues(TaskListImpl newTasks, 49 48 TaskQueueList queues, 50 49 ResourceManager resourceManager, ModuleList moduleList) { … … 53 52 TaskQueue queue = queues.get(0); 54 53 55 for(int i = 0; i < new Jobs.size(); i++){56 WorkloadUnit task = newJobs.get(i);54 for(int i = 0; i < newTasks.size(); i++){ 55 TaskInterface<?> task = newTasks.get(i); 57 56 queue.add(task); 58 57 }
Note: See TracChangeset
for help on using the changeset viewer.