]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/sched/SchedulerB.java
implemented end-logging
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / sched / SchedulerB.java
1 package at.ac.tuwien.lsdc.sched;
2
3 import java.io.File;
4 import java.io.IOException;
5 import java.util.LinkedList;
6
7 import org.slf4j.Logger;
8 import org.slf4j.LoggerFactory;
9
10 import at.ac.tuwien.lsdc.types.ScenarioData;
11 import at.ac.tuwien.lsdc.types.ScenarioType;
12 import at.ac.tuwien.lsdc.types.SchedulerEvent;
13 import at.ac.tuwien.lsdc.types.SchedulerType;
14
15
16 public class SchedulerB extends AbstractScheduler {
17
18         private static final Logger log = LoggerFactory.getLogger(SchedulerB.class);
19         
20         public SchedulerB(int numPMs, int numCloudPartners, File schedulerLog, 
21                                                 ScenarioType scenario) throws IOException {
22                 super(numPMs, numCloudPartners, schedulerLog, scenario);
23         }
24
25         @Override
26         protected void handleEvents(LinkedList<SchedulerEvent> events) {
27                 // TODO Auto-generated method stub
28                 log.info("Sched B handle events");
29         }
30
31         @Override
32         protected String getSchedulerType() {
33                 return SchedulerType.B.toString();
34         }
35
36 }