Open Kilda Java Documentation
HeartBeat.java
Go to the documentation of this file.
1 package org.openkilda.messaging;
2 
3 import java.util.UUID;
4 
5 public class HeartBeat extends Message {
6 
9  }
10 
11  public HeartBeat(long timestamp, String correlationId) {
12  super(timestamp, correlationId);
13  }
14 
15  public HeartBeat() {
16  this(System.currentTimeMillis(), UUID.randomUUID().toString());
17  }
18 }
HeartBeat(long timestamp, String correlationId, Destination destination)
Definition: HeartBeat.java:7
HeartBeat(long timestamp, String correlationId)
Definition: HeartBeat.java:11