diff options
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); |