Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
     throws InterruptedException, ExecutionException {
   return e.invokeAny(tasks);
 }