Uses of Class java.util.concurrent.TimeoutException

Uses in package java.util.concurrent

Methods which throw type java.util.concurrent.TimeoutException

AbstractExecutorService.T invokeAny(Callable> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
ExecutorService.T invokeAny(Callable> tasks, long timeout, TimeUnit unit)
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do before the given timeout elapses.
int
CyclicBarrier.await(long timeout, TimeUnit unit)
Waits until all parties have invoked await on this barrier, or the specified waiting time elapses.
V
Exchanger<V>.exchange(V x, long timeout, TimeUnit unit)
Waits for another thread to arrive at this exchange point (unless the current thread is interrupted or the specified waiting time elapses), and then transfers the given object to it, receiving its object in return.
V
Future<V>.get(long timeout, TimeUnit unit)
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
V
FutureTask<V>.get(long timeout, TimeUnit unit)