Searched refs:RunnableFuture (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ExecutorCompletionService.java | 115 QueueingFuture(RunnableFuture<V> task, in QueueingFuture() 126 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor() 133 private RunnableFuture<V> newTaskFor(Runnable task, V result) { in newTaskFor() 182 RunnableFuture<V> f = newTaskFor(task); in submit() 189 RunnableFuture<V> f = newTaskFor(task, result); in submit()
|
D | AbstractExecutorService.java | 92 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() 107 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor() 117 RunnableFuture<Void> ftask = newTaskFor(task, null); in submit() 128 RunnableFuture<T> ftask = newTaskFor(task, result); in submit() 139 RunnableFuture<T> ftask = newTaskFor(task); in submit() 240 RunnableFuture<T> f = newTaskFor(t); in invokeAll()
|
D | RunnableFuture.java | 48 public interface RunnableFuture<V> extends Runnable, Future<V> { interface
|
D | RunnableScheduledFuture.java | 48 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
|
D | ForkJoinTask.java | 1368 implements RunnableFuture<T> { 1387 implements RunnableFuture<Void> { 1422 implements RunnableFuture<T> {
|
D | FutureTask.java | 64 public class FutureTask<V> implements RunnableFuture<V> {
|
D | ForkJoinPool.java | 3454 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() 3458 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; 171 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 | 29 import java.util.concurrent.RunnableFuture; 53 static class CustomTask<V> implements RunnableFuture<V> { 153 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor() 156 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { in newTaskFor()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | FutureTask.java | 41 public class FutureTask<V> implements java.util.concurrent.RunnableFuture<V> {
|
/libcore/ |
D | openjdk_java_files.bp | 969 "ojluni/src/main/java/java/util/concurrent/RunnableFuture.java",
|