Searched refs:newTaskFor (Results 1 – 5 of 5) sorted by relevance
95 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() method in ExecutorCompletionService99 return aes.newTaskFor(task); in newTaskFor()102 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() method in ExecutorCompletionService106 return aes.newTaskFor(task, result); in newTaskFor()151 RunnableFuture<V> f = newTaskFor(task); in submit()158 RunnableFuture<V> f = newTaskFor(task, result); in submit()
56 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in AbstractExecutorService70 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() method in AbstractExecutorService80 RunnableFuture<Void> ftask = newTaskFor(task, null); in submit()91 RunnableFuture<T> ftask = newTaskFor(task, result); in submit()102 RunnableFuture<T> ftask = newTaskFor(task); in submit()205 RunnableFuture<T> f = newTaskFor(t); in invokeAll()238 futures.add(newTaskFor(t)); in invokeAll()
3186 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in ForkJoinPool3190 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() method in ForkJoinPool
170 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable()202 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
115 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE118 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE