diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-12-14 09:11:42 +0100 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2017-12-14 09:11:42 +0100 |
commit | b0b43c5cf8ecf90367f8b7c59177cba8c1a2e985 (patch) | |
tree | e46bbf0e065d3c17fb1957bb0ea4a31e66dfec72 /controller-api | |
parent | d08fdcafc28581519e1d2f88117f47bc1bc62904 (diff) |
Optional<Duration> again
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java index 5e0c8ec1f7e..af7c464b8d7 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneRegistry.java @@ -42,8 +42,8 @@ public interface ZoneRegistry { /** Returns a URL with the logs for the given deployment, if loggin is configured for its zone. */ Optional<URI> getLogServerUri(DeploymentId deploymentId); - /** Returns the time to live for deployments in the given zone. */ - Duration getDeploymentTimeToLive(ZoneId zoneId); + /** Returns the time to live for deployments in the given zone, or empty if this is infinite. */ + Optional<Duration> getDeploymentTimeToLive(ZoneId zoneId); /** Returns a URL pointing at monitoring resources for the given deployment. */ URI getMonitoringSystemUri(DeploymentId deploymentId); |