diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-01-24 09:42:06 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-01-24 09:42:06 +0100 |
commit | 963e50d08a81dcc9d4b5fe5293a62e5156465f11 (patch) | |
tree | 53713a1baf032f364e5f47c2cf7bda1391464328 /controller-api | |
parent | 6cfd02c6d774a6469dcd2c8b92421b0828090b49 (diff) |
Improve javadoc
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java index 0a656687538..77919b0ae54 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ConfigServer.java @@ -60,23 +60,30 @@ public interface ConfigServer { List<String> getContentClusters(DeploymentId deployment); /** - * Set new status on en endpoint in one zone. + * Set new status for a endpoint of a single deployment. * - * @param deployment The application/zone pair - * @param endpoint The endpoint to modify - * @param status The new status with metadata + * @param deployment The deployment to change + * @param upstreamName The upstream to modify. Upstream name is a unique identifier for the global route of a + * deployment in the shared routing layer + * @param status The new status */ // TODO(mpolden): Implement a zone-variant of this - void setGlobalRotationStatus(DeploymentId deployment, String endpoint, EndpointStatus status); + void setGlobalRotationStatus(DeploymentId deployment, String upstreamName, EndpointStatus status); /** * Get the endpoint status for an app in one zone * * @param deployment The application/zone pair * @param endpoint The endpoint to modify + /** + * Get the endpoint status for an app in one zone. + * + * @param deployment The deployment to change + * @param upstreamName The upstream to query. Upstream name is a unique identifier for the global route of a + * deployment in the shared routing layer * @return The endpoint status with metadata */ - EndpointStatus getGlobalRotationStatus(DeploymentId deployment, String endpoint); + EndpointStatus getGlobalRotationStatus(DeploymentId deployment, String upstreamName); /** The node repository on this config server */ NodeRepository nodeRepository(); |