MCPcopy Index your code
hub / github.com/OpenTSDB/async / join

Method join

src/Deferred.java:1018–1020  ·  view source on GitHub ↗

Synchronously waits until this Deferred is called back. This helps do synchronous operations using an asynchronous API. If this Deferred already completed, this method returns (or throws) immediately. Otherwise, the current thread will be blocked and will wait until the Deferred is cal

()

Source from the content-addressed store, hash-verified

1016 * will be thrown.
1017 */
1018 public T join() throws InterruptedException, Exception {
1019 return doJoin(true, 0);
1020 }
1021
1022 /**
1023 * Synchronously waits until this Deferred is called back or a timeout occurs.

Callers

nothing calls this directly

Calls 1

doJoinMethod · 0.95

Tested by

no test coverage detected