Ignore:
Timestamp:
10/08/12 10:23:45 (13 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/example/localplugin/BaseLocalSchedulingPlugin.java

    r478 r481  
    1010import schedframe.resources.units.ResourceUnit; 
    1111import schedframe.resources.units.ResourceUnitName; 
    12 import schedframe.scheduling.WorkloadUnitListImpl; 
     12import schedframe.scheduling.TaskListImpl; 
    1313import schedframe.scheduling.manager.resources.ResourceManager; 
    1414import schedframe.scheduling.manager.tasks.JobRegistryImpl; 
     
    2222import schedframe.scheduling.queue.TaskQueueList; 
    2323import schedframe.scheduling.tasks.TaskInterface; 
    24 import schedframe.scheduling.tasks.WorkloadUnit; 
    2524import schemas.StringValueWithUnit; 
    2625 
     
    4645        } 
    4746         
    48         public int placeJobsInQueues(WorkloadUnitListImpl newJobs, 
     47        public int placeTasksInQueues(TaskListImpl newTasks, 
    4948                        TaskQueueList queues,  
    5049                        ResourceManager resourceManager, ModuleList moduleList) { 
     
    5352                TaskQueue queue = queues.get(0); 
    5453 
    55                 for(int i = 0; i < newJobs.size(); i++){ 
    56                         WorkloadUnit task = newJobs.get(i); 
     54                for(int i = 0; i < newTasks.size(); i++){ 
     55                        TaskInterface<?> task = newTasks.get(i); 
    5756                        queue.add(task); 
    5857                } 
Note: See TracChangeset for help on using the changeset viewer.