Ignore:
Timestamp:
10/08/12 10:23:45 (13 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/trunk/src/schedframe/resources/computing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/schedframe/resources/computing/ComputingResource.java

    r477 r481  
    22 
    33import gridsim.GridSimTags; 
    4 import gridsim.gssim.WormsTags; 
     4import gridsim.gssim.DCWormsTags; 
    55 
    66import java.util.ArrayList; 
     
    275275                        if(scheduler != null && (parent != null && scheduler != parent.getScheduler())/*scheduler.getResources().contains(this)*/){ 
    276276                                String src = event.getSource() != null ? event.getSource() : name; 
    277                                 scheduler.sendInternal(GridSimTags.SCHEDULE_NOW, WormsTags.UPDATE, src); 
     277                                scheduler.sendInternal(GridSimTags.SCHEDULE_NOW, DCWormsTags.UPDATE, src); 
    278278                        } else if(parent != null) 
    279279                                parent.getEventHandler().handleSchedulingEvent(event); 
  • DCWoRMS/trunk/src/schedframe/resources/computing/ResourceFactory.java

    r477 r481  
    1111import schedframe.scheduling.policy.local.LocalManagementSystem; 
    1212import schedframe.scheduling.queue.TaskQueueList; 
    13 import simulator.WormsConstants; 
     13import simulator.DCWormsConstants; 
    1414 
    1515 
     
    4646                        } 
    4747                        case LS: { 
    48                                 ms = new LocalManagementSystem(id, WormsConstants.MANAGEMENT_SYSTEM, 
     48                                ms = new LocalManagementSystem(id, DCWormsConstants.MANAGEMENT_SYSTEM, 
    4949                                                schedulingPlugin, execTimeEstimationPlugin, queues); 
    5050                                return new Scheduler(ms, type, managedResources); 
     
    5252 
    5353                default:{ 
    54                                 ms = new LocalManagementSystem(id, WormsConstants.MANAGEMENT_SYSTEM, 
     54                                ms = new LocalManagementSystem(id, DCWormsConstants.MANAGEMENT_SYSTEM, 
    5555                                                schedulingPlugin, execTimeEstimationPlugin, queues); 
    5656                                return new Scheduler(ms, type, managedResources); 
Note: See TracChangeset for help on using the changeset viewer.