Uses of Class
java.util.concurrent.ExecutionException
Packages that use ExecutionException
Package
Description
Utility classes commonly useful in concurrent programming.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of ExecutionException in java.util.concurrent
Methods in java.util.concurrent that return types with arguments of type ExecutionExceptionModifier and TypeMethodDescriptionstatic <T> StructuredTaskScope.JoinerPREVIEW<T, List<T>, ExecutionException> StructuredTaskScope.Joiner.allSuccessfulOrThrow()Returns a new Joiner that produces a list of all results when all subtasks complete successfully.static <T> StructuredTaskScope.JoinerPREVIEW<T, T, ExecutionException> StructuredTaskScope.Joiner.anySuccessfulOrThrow()Returns a new Joiner that produces the result of any successful subtask.static <T> StructuredTaskScope.JoinerPREVIEW<T, Void, ExecutionException> StructuredTaskScope.Joiner.awaitAllSuccessfulOrThrow()static <T> StructuredTaskScopePREVIEW<T, Void, ExecutionException> StructuredTaskScope.open()Opens a newStructuredTaskScopewhereStructuredTaskScope.join()PREVIEW waits for all subtasks to succeed or any subtask to fail.static <T> StructuredTaskScopePREVIEW<T, Void, ExecutionException> StructuredTaskScope.open(UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator) Opens a newStructuredTaskScopethat uses theConfigurationthat is the result of applying the given operator to the default configuration.Methods in java.util.concurrent that throw ExecutionExceptionModifier and TypeMethodDescriptionCompletableFuture.get()Waits if necessary for this future to complete, and then returns its result.Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.final VForkJoinTask.get()Waits if necessary for the computation to complete, and then retrieves its result.final VWaits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.Future.get()Waits if necessary for the computation to complete, and then retrieves its result.Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.FutureTask.get()<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. -
Uses of ExecutionException in javax.swing
Methods in javax.swing that throw ExecutionException