Searched refs:newTaskFor (Results 1 - 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ExecutorCompletionService.java | 126 private RunnableFuture<V> newTaskFor(Callable<V> task) { method in class:ExecutorCompletionService 130 return aes.newTaskFor(task); 133 private RunnableFuture<V> newTaskFor(Runnable task, V result) { method in class:ExecutorCompletionService 137 return aes.newTaskFor(task, result); 182 RunnableFuture<V> f = newTaskFor(task); 189 RunnableFuture<V> f = newTaskFor(task, result);
|
H A D | AbstractExecutorService.java | 49 * {@link RunnableFuture} returned by {@code newTaskFor}, which defaults 53 * returned. Subclasses may override the {@code newTaskFor} methods 65 * protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { 68 * protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { 92 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { method in class:AbstractExecutorService 107 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { method in class:AbstractExecutorService 117 RunnableFuture<Void> ftask = newTaskFor(task, null); 128 RunnableFuture<T> ftask = newTaskFor(task, result); 139 RunnableFuture<T> ftask = newTaskFor(task); 240 RunnableFuture<T> f = newTaskFor( [all...] |
H A D | ForkJoinPool.java | 3451 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { method in class:ForkJoinPool 3455 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { method in class:ForkJoinPool
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ExecutorCompletionServiceTest.java | 158 * Submitting to underlying AES that overrides newTaskFor(Callable) 159 * returns and eventually runs Future returned by newTaskFor. 171 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { 189 * Submitting to underlying AES that overrides newTaskFor(Runnable,T) 190 * returns and eventually runs Future returned by newTaskFor. 202 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) {
|
H A D | ThreadPoolExecutorSubclassTest.java | 153 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { method in class:ThreadPoolExecutorSubclassTest.CustomTPE 156 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { method in class:ThreadPoolExecutorSubclassTest.CustomTPE
|
Completed in 151 milliseconds