Ignore:
Timestamp:
09/18/14 17:37:54 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/scheduling/policy/global/GlobalManagementSystem.java

    r1415 r1440  
    6060 
    6161                case DCWormsTags.TIMER: 
    62                         if (pluginSupportsEvent(DCWormsTags.TIMER)) { 
    63                                 TimerEvent event = new  TimerEvent(); 
    64                                 SchedulingPlanInterface<?> decision =  schedulingPlugin.schedule(event,  
    65                                                 queues,  jobRegistry, getResourceManager(), moduleList); 
    66                                 executeSchedulingPlan(decision); 
    67                         } 
     62                        TimerEvent event = new  TimerEvent(); 
     63                        SchedulingPlanInterface<?> decision =  schedulingPlugin.schedule(event,  
     64                                        queues,  jobRegistry, getResourceManager(), moduleList); 
     65                        executeSchedulingPlan(decision); 
     66 
    6867                        sendTimerEvent(); 
    6968                        break; 
     
    7271         
    7372        public void notifySubmittedWorkloadUnit(WorkloadUnit wu) { 
    74                 if (!pluginSupportsEvent(GridSimTags.GRIDLET_SUBMIT)) { 
    75                         log.error("Plugin " + schedulingPlugin.getClass() 
    76                                         + " does not provide support for TASK_ARRIVED event.\n" 
    77                                         + "Check plugin configuration or use default one."); 
    78                         return; 
    79                 } 
    8073                registerWorkloadUnit(wu); 
    81  
    8274        } 
    8375         
Note: See TracChangeset for help on using the changeset viewer.