aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/health/HealthEndpoint.java
blob: 5dfa6274054d3d9b68150289243db7becc28322a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. 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.monitor.ServiceId;

/**
 * An endpoint 1-1 with a service and that can be health monitored.
 *
 * @author hakon
 */
interface HealthEndpoint {
    ServiceId getServiceId();
    String description();
    HealthMonitor startMonitoring();
}