Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ExecutionException | |
---|---|
java.util.concurrent | Utility classes commonly useful in concurrent programming. |
javax.swing | 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 throw ExecutionException | ||
---|---|---|
V |
FutureTask.get()
|
|
V |
Future.get()
Waits if necessary for the computation to complete, and then retrieves its result. |
|
V |
FutureTask.get(long timeout,
TimeUnit unit)
|
|
V |
Future.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. |
|
|
ExecutorService.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. |
|
|
AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks)
|
|
|
ExecutorService.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. |
|
|
AbstractExecutorService.invokeAny(Collection<? extends Callable<T>> tasks,
long timeout,
TimeUnit unit)
|
Uses of ExecutionException in javax.swing |
---|
Methods in javax.swing that throw ExecutionException | |
---|---|
T |
SwingWorker.get()
Waits if necessary for the computation to complete, and then retrieves its result. |
T |
SwingWorker.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. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the