Searched refs:RunnableFuture (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ExecutorCompletionService.java | 87 QueueingFuture(RunnableFuture<V> task) { in QueueingFuture() 95 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() 102 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() 151 RunnableFuture<V> f = newTaskFor(task); in submit() 158 RunnableFuture<V> f = newTaskFor(task, result); in submit()
|
D | AbstractExecutorService.java | 56 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() 70 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() 80 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()
|
D | RunnableFuture.java | 19 public interface RunnableFuture<V> extends Runnable, Future<V> { interface
|
D | RunnableScheduledFuture.java | 19 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
|
D | ForkJoinTask.java | 20 import java.util.concurrent.RunnableFuture; 1349 implements RunnableFuture<T> { 1368 implements RunnableFuture<Void> { 1403 implements RunnableFuture<T> {
|
D | FutureTask.java | 34 public class FutureTask<V> implements RunnableFuture<V> {
|
D | ForkJoinPool.java | 20 import java.util.concurrent.RunnableFuture; 3186 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() 3190 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorCompletionServiceTest.java | 20 import java.util.concurrent.RunnableFuture; 170 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable() 202 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
|
D | ThreadPoolExecutorSubclassTest.java | 20 static class CustomTask<V> implements RunnableFuture<V> { 115 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() 118 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor()
|