blob: 9743533317fcc78b59a097c394d2e8a183f16dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
package pl.edu.mimuw.cloudatlas.agent.message;
import java.util.TimerTask;
public class TimerSchedulerMessage extends AgentMessage {
private String requestId;
private long delay;
private long baseTime;
private TimerTask task;
public TimerSchedulerMessage(String messageId, AgentModule destinationModule, long timestamp, String requestId, long delay, long baseTime, TimerTask task) {
super(messageId, destinationModule, timestamp);
this.requestId = requestId;
this.delay = delay;
this.baseTime = baseTime;
this.task = task;
}
public long getDelay() {
return delay;
}
public void setDelay(long delay) {
this.delay = delay;
}
public long getBaseTime() {
return baseTime;
}
public void setBaseTime(long baseTime) {
this.baseTime = baseTime;
}
public TimerTask getTask() {
return task;
}
public void setTask(TimerTask task) {
this.task = task;
}
public String getRequestId() { return requestId; }
public void setRequestId(String requestId) { this.requestId = requestId; }
}
|