blob: 2b456983c47f81109f18f1d62edea5bf6facb904 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.manager;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.vespa.applicationmodel.ServiceStatusInfo;
import com.yahoo.vespa.service.health.HealthMonitorManager;
import com.yahoo.vespa.service.monitor.ServiceId;
import com.yahoo.vespa.service.monitor.ServiceStatusProvider;
import java.util.List;
import java.util.Map;
/**
* The API of {@link HealthMonitorManager} which is exported to other bundles (typically for REST).
*
* @author hakonhall
*/
public interface HealthMonitorApi extends ServiceStatusProvider {
List<ApplicationId> getMonitoredApplicationIds();
Map<ServiceId, ServiceStatusInfo> getServices(ApplicationId applicationId);
}
|