summaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/health/HealthMonitor.java
blob: 14ec977c98c8d0ccf082d204ac852bda5d6811f0 (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.applicationmodel.ServiceStatusInfo;

/**
 * @author hakonhall
 */
interface HealthMonitor extends AutoCloseable {
    ServiceStatusInfo getStatus();

    @Override
    void close();
}