aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/health/HealthUpdater.java
blob: 625b9f0eebe8ac77e54b7bb91acb23c4abd3a2da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.health;

import com.yahoo.vespa.applicationmodel.ServiceStatusInfo;
import com.yahoo.vespa.service.executor.Runlet;

/**
 * A {@link HealthUpdater} will probe the health with {@link #run()}, whose result can be fetched with the
 * thread-safe method {@link #getServiceStatusInfo()}.
 *
 * @author hakonhall
 */
interface HealthUpdater extends Runlet {
    ServiceStatusInfo getServiceStatusInfo();
}