站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.util.concurrent.ExecutionException (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.util.concurrent.ExecutionException

Packages that use ExecutionException
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
 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.
<T> T
ExecutorService.invokeAny(Collection<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> T
AbstractExecutorService.invokeAny(Collection<Callable<T>> tasks)
           
<T> T
ExecutorService.invokeAny(Collection<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.
<T> T
AbstractExecutorService.invokeAny(Collection<Callable<T>> tasks, long timeout, TimeUnit unit)
           
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.