diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-10-22 11:08:24 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-10-22 11:08:24 +0200 |
commit | 23afd5993ba3e22334c42e1a4af7d146cf5da801 (patch) | |
tree | 415d1f728078655d9551e6e300eb4fb52d2c3f58 /node-admin | |
parent | 17fa29f433b5338723c4bef1eae972b0de9d7dd5 (diff) |
Add GET suspended status to application/v2
Diffstat (limited to 'node-admin')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/orchestrator/Orchestrator.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/orchestrator/Orchestrator.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/orchestrator/Orchestrator.java index b5d41b7fbb4..ba4e7ab7b7c 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/orchestrator/Orchestrator.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/orchestrator/Orchestrator.java @@ -9,23 +9,28 @@ import java.util.List; * @author bakksjo */ public interface Orchestrator { + /** - * Invokes orchestrator suspend of a host. - * @throws OrchestratorException if suspend was denied. + * Suspends a host. + * + * @throws OrchestratorException if suspend was denied * @throws OrchestratorNotFoundException if host is unknown to the orchestrator */ void suspend(String hostName); /** - * Invokes orchestrator resume of a host. + * Resumes a host. + * * @throws OrchestratorException if resume was denied * @throws OrchestratorNotFoundException if host is unknown to the orchestrator */ void resume(String hostName); /** - * Invokes orchestrator suspend hosts. - * @throws OrchestratorException if batch suspend was denied. + * Suspends a list of nodes on a parent. + * + * @throws OrchestratorException if batch suspend was denied */ void suspend(String parentHostName, List<String> hostNames); + } |