Example #1
0
 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
     throws InterruptedException, ExecutionException, TimeoutException {
   return e.invokeAny(tasks, timeout, unit);
 }
Example #2
0
 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
     throws InterruptedException, ExecutionException {
   return e.invokeAny(tasks);
 }