public static void join ( Object strand , long timeout , TimeUnit unit ) throws ExecutionException , InterruptedException , TimeoutException { Strand . join ( strand , timeout , unit ) ; }
Awaits the termination of a given strand at most for the timeout duration specified . This method blocks until this strand terminates or the timeout elapses .