]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10034 HealthStateRefresher must implement Startable
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 28 May 2019 08:01:54 +0000 (10:01 +0200)
committerSonarTech <sonartech@sonarsource.com>
Tue, 28 May 2019 18:21:09 +0000 (20:21 +0200)
server/sonar-process/src/main/java/org/sonar/process/cluster/health/HealthStateRefresher.java

index e1ab657df2de0eb6384b68e13c72c974307ec494..2d6fa2c38376d1c8c8f02e66a3ac37c8a5cfca48 100644 (file)
@@ -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;