aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/SystemMonitor.java
blob: aa865a507993786e94c22e915a40af4a36da4a17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.organization;

import com.yahoo.component.Version;

/**
 * Monitors a Vespa controller and its system.
 *
 * @author jonmv
 */
public interface SystemMonitor {

    /** Notifies the monitor of the current system version and its confidence. */
    void reportSystemVersion(Version systemVersion, Confidence confidence);

    enum Confidence {
        aborted, broken, low, legacy, normal, high;
    }

}