master
Charitha Goonetilleke 2 years ago
parent 17f28c8b55
commit ce0d834b12

@ -19,13 +19,14 @@
package io.entgra.server.bootup.heartbeat.beacon.dto; package io.entgra.server.bootup.heartbeat.beacon.dto;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List; import java.util.List;
public class ElectedCandidate { public class ElectedCandidate {
private String serverUUID; private String serverUUID;
private Timestamp timeOfElection; private Timestamp timeOfElection;
private List<String> acknowledgedTaskList = null; private List<String> acknowledgedTaskList = new ArrayList<>();
public List<String> getAcknowledgedTaskList() { public List<String> getAcknowledgedTaskList() {
return acknowledgedTaskList; return acknowledgedTaskList;

Loading…
Cancel
Save