blob: 8101336c638b84ff6c366324bbb7c40ff419bd6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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.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();
}
|