diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-05-23 16:40:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 16:40:12 +0200 |
commit | 692121a90e14acc7ddb65dbc0ff7a2922ddd6713 (patch) | |
tree | daf19f930074dc083f1f7903acb4c864e2252c30 /zkfacade | |
parent | 892d4c41216a44ed704855239336316fe8f35293 (diff) | |
parent | c5371bd9d2939bbfb2059c349eb671175b4ba03c (diff) |
Merge pull request #22713 from vespa-engine/jonmv/logserver-for-tester
Jonmv/logserver for tester
Diffstat (limited to 'zkfacade')
-rw-r--r-- | zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java b/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java index dc717f6d65d..32aef2da118 100644 --- a/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java +++ b/zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java @@ -1,6 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.curator.api; +import com.yahoo.concurrent.UncheckedTimeoutException; import com.yahoo.path.Path; import java.time.Duration; @@ -14,6 +15,6 @@ import java.time.Duration; public interface VespaCurator { /** Create and acquire a re-entrant lock in given path. This blocks until the lock is acquired or timeout elapses. */ - AutoCloseable lock(Path path, Duration timeout); + AutoCloseable lock(Path path, Duration timeout) throws UncheckedTimeoutException; } |