- Timestamp:
- 10/31/12 13:52:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/build/classes/schedframe/resources/computing/ResourceFactory.java
r477 r539 11 11 import schedframe.scheduling.policy.local.LocalManagementSystem; 12 12 import schedframe.scheduling.queue.TaskQueueList; 13 import simulator. WormsConstants;13 import simulator.DCWormsConstants; 14 14 15 15 … … 20 20 if (resDesc.getType().equals(StandardResourceType.DataCenter)) 21 21 return new DataCenter(resDesc); 22 else if (resDesc.getType().equals(StandardResourceType.Rack)) 23 return new Rack(resDesc); 22 24 else if (resDesc.getType().equals(StandardResourceType.ComputingNode)) 23 25 return new ComputingNode(resDesc); … … 46 48 } 47 49 case LS: { 48 ms = new LocalManagementSystem(id, WormsConstants.MANAGEMENT_SYSTEM,50 ms = new LocalManagementSystem(id, DCWormsConstants.MANAGEMENT_SYSTEM, 49 51 schedulingPlugin, execTimeEstimationPlugin, queues); 50 52 return new Scheduler(ms, type, managedResources); … … 52 54 53 55 default:{ 54 ms = new LocalManagementSystem(id, WormsConstants.MANAGEMENT_SYSTEM,56 ms = new LocalManagementSystem(id, DCWormsConstants.MANAGEMENT_SYSTEM, 55 57 schedulingPlugin, execTimeEstimationPlugin, queues); 56 58 return new Scheduler(ms, type, managedResources);
Note: See TracChangeset
for help on using the changeset viewer.