From: Sébastien Lesaint Date: Tue, 28 May 2019 08:01:54 +0000 (+0200) Subject: SONAR-10034 HealthStateRefresher must implement Startable X-Git-Tag: 7.8~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a95744571a792c5c4dda94b8452cc23041e400a;p=sonarqube.git SONAR-10034 HealthStateRefresher must implement Startable --- diff --git a/server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateRefresher.java b/server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateRefresher.java index e1ab657df2d..2d6fa2c3837 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateRefresher.java +++ b/server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateRefresher.java @@ -24,8 +24,9 @@ import com.hazelcast.spi.exception.RetryableHazelcastException; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.sonar.api.Startable; -public class HealthStateRefresher { +public class HealthStateRefresher implements Startable { private static final Logger LOG = LoggerFactory.getLogger(HealthStateRefresher.class); private static final int INITIAL_DELAY = 1; private static final int DELAY = 10;