Blocks until the computation completes and returns the result. @return the computed result @throws InterruptedException if the calling thread is interrupted while waiting @throws ExecutionException if the computation completed exceptionally
()
| 111 | * @throws ExecutionException if the computation completed exceptionally |
| 112 | */ |
| 113 | T get() throws InterruptedException, ExecutionException; |
| 114 | |
| 115 | /** |
| 116 | * Blocks until the computation completes or the timeout expires. |
no outgoing calls