summaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/health/HealthUpdater.java
blob: 4ed49e17e9f93b27bc6a31d5029800a9f9a2ac72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018 Yahoo Holdings. 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.service.executor.Runlet;

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