Uses of Class
java.util.concurrent.ExecutionException
| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
-
Uses of ExecutionException in java.util.concurrent
Methods in java.util.concurrent that throw ExecutionException Modifier and Type Method Description VForkJoinTask. get()Waits if necessary for the computation to complete, and then retrieves its result.VForkJoinTask. 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.VFuture. get()Waits if necessary for the computation to complete, and then retrieves its result.VFuture. 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.VFutureTask. get()VFutureTask. get(long timeout, TimeUnit unit)<T> TAbstractExecutorService. invokeAny(Collection<? extends Callable<T>> tasks)<T> TAbstractExecutorService. invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)<T> TExecutorService. invokeAny(Collection<? extends Callable<T>> tasks)Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an exception), if any do.<T> TExecutorService. invokeAny(Collection<? extends Callable<T>> 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.