]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/types/Application.java
started input handling of SchedulerSimulator
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / types / Application.java
1 package at.ac.tuwien.lsdc.types;
2
3 public class Application {
4         
5         private long timestamp;
6         private int size;
7         private int ram;
8         private int cpu;
9         private int duration;
10         
11         public Application(long timestamp, int size, int ram, int cpu, int duration) {
12                 this.timestamp = timestamp;
13                 this.size = size;
14                 this.ram = ram;
15                 this.cpu = cpu;
16                 this.duration = duration;
17         }
18
19         public long getTimestamp() {
20                 return timestamp;
21         }
22
23         public int getSize() {
24                 return size;
25         }
26
27         public int getRam() {
28                 return ram;
29         }
30
31         public int getCpu() {
32                 return cpu;
33         }
34
35         public int getDuration() {
36                 return duration;
37         }
38
39 }