m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent/messages/CleanOldGossipsMessage.java
blob: 6c3cb7e33b2b7d1f76675f694e16749fea5cc643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package pl.edu.mimuw.cloudatlas.agent.messages;

import pl.edu.mimuw.cloudatlas.model.ValueTime;

public class CleanOldGossipsMessage extends GossipGirlMessage {
    private ValueTime ageThreshold;

    public CleanOldGossipsMessage(String messageId, long timestamp, ValueTime ageThreshold) {
        super(messageId, timestamp, Type.CLEAN);
        this.ageThreshold = ageThreshold;
    }

    public ValueTime getAgeThreshold() {
        return ageThreshold;
    }
}