]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/sched/SchedulerC.java
put code for migration into new class AbstractSchedulerWithMigration
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / sched / SchedulerC.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.Application;
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 import at.ac.tuwien.lsdc.types.VirtualMachine;
15
16 public class SchedulerC extends AbstractSchedulerWithMigration {
17
18         private static final Logger log = LoggerFactory.getLogger(SchedulerC.class);
19
20         public SchedulerC(int numPMs, int numCloudPartners, File schedulerLog, ScenarioType scenario)
21                         throws IOException {
22                 super(numPMs, numCloudPartners, schedulerLog, scenario);
23         }
24
25         @Override
26         protected String getSchedulerType() {
27                 return SchedulerType.C.toString();
28         }
29
30         @Override
31         protected void handleEndEvents(LinkedList<SchedulerEvent> events) {
32                 // TODO Auto-generated method stub
33
34         }
35
36         @Override
37         protected void handleDelayedApps() {
38                 // TODO Auto-generated method stub
39
40         }
41
42         @Override
43         protected void handleStartEvents(LinkedList<SchedulerEvent> events) {
44                 // TODO Auto-generated method stub
45
46         }
47
48         @Override
49         protected void runMigration() {
50                 // TODO Auto-generated method stub
51
52         }
53
54         @Override
55         protected boolean deployApp(VirtualMachine vm, Application app) {
56                 // TODO Auto-generated method stub
57                 return false;
58         }
59
60 }