Home
last modified time | relevance | path

Searched refs:newTaskFor (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java123 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() method in ExecutorCompletionService
127 return aes.newTaskFor(task); in newTaskFor()
130 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() method in ExecutorCompletionService
134 return aes.newTaskFor(task, result); in newTaskFor()
183 RunnableFuture<V> f = newTaskFor(task); in submit()
194 RunnableFuture<V> f = newTaskFor(task, result); in submit()
DAbstractExecutorService.java97 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in AbstractExecutorService
112 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() method in AbstractExecutorService
122 RunnableFuture<Void> ftask = newTaskFor(task, null); in submit()
133 RunnableFuture<T> ftask = newTaskFor(task, result); in submit()
144 RunnableFuture<T> ftask = newTaskFor(task); in submit()
245 RunnableFuture<T> f = newTaskFor(t); in invokeAll()
274 futures.add(newTaskFor(t)); in invokeAll()
DForkJoinPool.java3474 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) {
3479 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) {
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractExecutorServiceTest.java66 public <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() method in AbstractExecutorServiceTest.TestExecutorService
67 return super.newTaskFor(runnable, value); in newTaskFor()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorCompletionServiceTest.java171 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable()
202 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
DThreadPoolExecutorSubclassTest.java153 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
156 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorCompletionServiceTest.java232 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable()
262 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
DThreadPoolExecutorSubclassTest.java175 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
178 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor() method in ThreadPoolExecutorSubclassTest.CustomTPE
/libcore/api/
Dcurrent.txt15314 method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(Runnable, T);
15315 …method protected <T> java.util.concurrent.RunnableFuture<T> newTaskFor(java.util.concurrent.Callab…