Changeset 1440 for DCWoRMS/branches/coolemall/src/schedframe/scheduling/policy/global/GlobalManagementSystem.java
- Timestamp:
- 09/18/14 17:37:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/scheduling/policy/global/GlobalManagementSystem.java
r1415 r1440 60 60 61 61 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 68 67 sendTimerEvent(); 69 68 break; … … 72 71 73 72 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 }80 73 registerWorkloadUnit(wu); 81 82 74 } 83 75
Note: See TracChangeset
for help on using the changeset viewer.