@Override
    public ServiceStatusInfo getStatus(ApplicationId applicationId,
                                       ClusterId clusterId,
                                       ServiceType serviceType,
                                       ConfigId configId) {
        ServiceId serviceId = new ServiceId(applicationId, clusterId, serviceType, configId);

        synchronized (guard) {
            HealthMonitor monitor = monitors.get(serviceId);
            if (monitor == null) {
                return new ServiceStatusInfo(ServiceStatus.NOT_CHECKED);
            }

            return monitor.getStatus();
        }
    }
Responsible for monitoring a whole application using /state/v1/health.

@author hakon
service-monitor/src/main/java/com/yahoo/vespa/service/health/ApplicationHealthMonitor.java