summaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/organization/SystemMonitor.java
blob: 20dd0a8739d42520b8342fffb22f324f44f4b4f8 (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;

/**
 * Montitors 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 {
        broken, low, normal, high;
    }

}