Searched refs:invokeAll (Results 1 - 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutorService.java35 * Methods {@code invokeAny} and {@code invokeAll} perform the most
248 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) method in interface:ExecutorService
279 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, method in interface:ExecutorService
H A DExecutors.java609 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) method in class:Executors.DelegatedExecutorService
611 return e.invokeAll(tasks);
613 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, method in class:Executors.DelegatedExecutorService
616 return e.invokeAll(tasks, timeout, unit);
H A DAbstractExecutorService.java19 * {@code invokeAny} and {@code invokeAll} methods using a
204 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) method in class:AbstractExecutorService
230 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, method in class:AbstractExecutorService
H A DForkJoinTask.java37 * #invokeAll(ForkJoinTask...) invokeAll}. However, this class also
93 * Method {@code invokeAll} (available in multiple versions)
719 public static void invokeAll(ForkJoinTask<?> t1, ForkJoinTask<?> t2) { method in class:ForkJoinTask
743 public static void invokeAll(ForkJoinTask<?>... tasks) { method in class:ForkJoinTask
788 public static <T extends ForkJoinTask<?>> Collection<T> invokeAll(Collection<T> tasks) { method in class:ForkJoinTask
790 invokeAll(tasks.toArray(new ForkJoinTask<?>[tasks.size()]));
H A DForkJoinPool.java2803 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) { method in class:ForkJoinPool
2805 // a task to run ForkJoinTask.invokeAll, but now external
/libcore/jsr166-tests/src/test/java/jsr166/
H A DAbstractExecutorServiceTest.java318 * invokeAll(null) throws NPE
324 e.invokeAll(null);
331 * invokeAll(empty collection) returns empty collection
336 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>());
342 * invokeAll(c) throws NPE if c has null elements
351 e.invokeAll(l);
358 * get of returned element of invokeAll(c) throws exception on failed task
365 List<Future<String>> futures = e.invokeAll(l);
377 * invokeAll(c) returns results of all completed tasks in c
385 List<Future<String>> futures = e.invokeAll(
[all...]
H A DForkJoinPool8Test.java198 invokeAll(f1, f2);
216 invokeAll(f1, f2);
689 * invokeAll(t1, t2) invokes all task arguments
696 invokeAll(f, g);
706 * invokeAll(tasks) with 1 argument invokes task
712 invokeAll(f);
720 * invokeAll(tasks) with > 2 argument invokes tasks
728 invokeAll(f, g, h);
743 * invokeAll(collection) invokes all tasks in the collection
755 invokeAll(se
[all...]
H A DForkJoinTaskTest.java804 * invokeAll(t1, t2) invokes all task arguments
811 invokeAll(f, g);
821 * invokeAll(tasks) with 1 argument invokes task
827 invokeAll(f);
835 * invokeAll(tasks) with > 2 argument invokes tasks
843 invokeAll(f, g, h);
855 * invokeAll(collection) invokes all tasks in the collection
867 invokeAll(set);
879 * invokeAll(tasks) with any null task throws NPE
888 invokeAll(
[all...]
H A DForkJoinTask8Test.java776 * invokeAll(tasks) with 1 argument invokes task
788 invokeAll(f);
795 * invokeAll(t1, t2) invokes all task arguments
810 invokeAll(tasks[0], tasks[1]);
818 * invokeAll(tasks) with > 2 argument invokes tasks
834 invokeAll(tasks[0], tasks[1], tasks[2]);
842 * invokeAll(collection) invokes all tasks in the collection
858 invokeAll(Arrays.asList(tasks));
866 * invokeAll(tasks) with any null task throws NullPointerException
879 () -> invokeAll(nu
[all...]
H A DRecursiveActionTest.java187 invokeAll(f1, f2);
205 invokeAll(f1, f2);
876 * invokeAll(t1, t2) invokes all task arguments
883 invokeAll(f, g);
893 * invokeAll(tasks) with 1 argument invokes task
899 invokeAll(f);
907 * invokeAll(tasks) with > 2 argument invokes tasks
915 invokeAll(f, g, h);
930 * invokeAll(collection) invokes all tasks in the collection
942 invokeAll(se
[all...]
H A DForkJoinPoolTest.java703 * invokeAll(null) throws NullPointerException
709 e.invokeAll(null);
716 * invokeAll(empty collection) returns empty collection
722 = e.invokeAll(new ArrayList<Callable<String>>());
728 * invokeAll(c) throws NullPointerException if c has null elements
737 e.invokeAll(l);
744 * get of returned element of invokeAll(c) throws
752 List<Future<String>> futures = e.invokeAll(l);
764 * invokeAll(c) returns results of all completed tasks in c
772 List<Future<String>> futures = e.invokeAll(
[all...]
H A DCountedCompleterTest.java1016 * invokeAll(t1, t2) invokes all task arguments
1023 invokeAll(f, g);
1033 * invokeAll(tasks) with 1 argument invokes task
1039 invokeAll(f);
1047 * invokeAll(tasks) with > 2 argument invokes tasks
1055 invokeAll(f, g, h);
1067 * invokeAll(collection) invokes all tasks in the collection
1079 invokeAll(set);
1091 * invokeAll(tasks) with any null task throws NPE
1100 invokeAll(
[all...]
H A DScheduledExecutorSubclassTest.java992 * invokeAll(null) throws NPE
998 e.invokeAll(null);
1005 * invokeAll(empty collection) returns empty collection
1010 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>());
1016 * invokeAll(c) throws NPE if c has null elements
1025 e.invokeAll(l);
1032 * get of invokeAll(c) throws exception on failed task
1039 List<Future<String>> futures = e.invokeAll(l);
1051 * invokeAll(c) returns results of all completed tasks
1059 List<Future<String>> futures = e.invokeAll(
[all...]
H A DScheduledExecutorTest.java941 * invokeAll(null) throws NPE
947 e.invokeAll(null);
954 * invokeAll(empty collection) returns empty collection
959 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>());
965 * invokeAll(c) throws NPE if c has null elements
974 e.invokeAll(l);
981 * get of invokeAll(c) throws exception on failed task
988 List<Future<String>> futures = e.invokeAll(l);
1000 * invokeAll(c) returns results of all completed tasks
1008 List<Future<String>> futures = e.invokeAll(
[all...]
H A DRecursiveTaskTest.java695 * invokeAll(t1, t2) invokes all task arguments
702 invokeAll(f, g);
711 * invokeAll(tasks) with 1 argument invokes task
717 invokeAll(f);
725 * invokeAll(tasks) with > 2 argument invokes tasks
733 invokeAll(f, g, h);
746 * invokeAll(collection) invokes all tasks in the collection
758 invokeAll(set);
771 * invokeAll(tasks) with any null task throws NPE
780 invokeAll(
[all...]
H A DThreadPoolExecutorSubclassTest.java1563 * invokeAll(null) throws NPE
1572 e.invokeAll(null);
1579 * invokeAll(empty collection) returns empty collection
1587 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>());
1593 * invokeAll(c) throws NPE if c has null elements
1605 e.invokeAll(l);
1612 * get of element of invokeAll(c) throws exception on failed task
1622 List<Future<String>> futures = e.invokeAll(l);
1634 * invokeAll(c) returns results of all completed tasks
1645 List<Future<String>> futures = e.invokeAll(
[all...]
H A DThreadPoolExecutorTest.java1570 * invokeAll(null) throws NPE
1579 e.invokeAll(null);
1586 * invokeAll(empty collection) returns empty collection
1594 List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>());
1600 * invokeAll(c) throws NPE if c has null elements
1612 e.invokeAll(l);
1619 * get of element of invokeAll(c) throws exception on failed task
1629 List<Future<String>> futures = e.invokeAll(l);
1641 * invokeAll(c) returns results of all completed tasks
1652 List<Future<String>> futures = e.invokeAll(
[all...]

Completed in 183 milliseconds