1 package at.ac.tuwien.lsdc.types;
3 public class SchedulerEvent {
5 public enum EventType {
6 startApplication, endApplication, startOutsourcedApplication, endOutsourcedApplication
9 final private long timestamp;
10 final private EventType type;
11 final private Application app;
13 public SchedulerEvent(long timestamp, EventType type, Application app) {
14 this.timestamp = timestamp;
19 public long getTimestamp() {
23 public EventType getType() {
27 public Application getApp() {
32 public String toString() {
33 return "SchedulerEvent [timestamp=" + timestamp + ", type=" + type + ", app=" + app + "]";