public final Result get ( long timeout , TimeUnit unit ) throws InterruptedException , ExecutionException , TimeoutException { return mFuture . get ( timeout , unit ) ; }
Waits if necessary for at most the given time for the computation to complete and then retrieves its result .