blob: 8a90224083b2fe17e582065f7dea75dd4d24243e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.configserver;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.vespa.hosted.controller.api.integration.zone.ZoneId;
/**
* Service convergence status for an application.
*
* @author mpolden
*/
public class ServiceConvergence {
private final ApplicationId application;
private final ZoneId zone;
private final boolean converged;
public ServiceConvergence(ApplicationId application, ZoneId zone, boolean converged) {
this.application = application;
this.zone = zone;
this.converged = converged;
}
public ApplicationId application() {
return application;
}
public ZoneId zone() {
return zone;
}
public boolean converged() {
return converged;
}
}
|