Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java87 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()
DAbstractExecutorService.java56 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()
DRunnableFuture.java19 public interface RunnableFuture<V> extends Runnable, Future<V> { interface
DRunnableScheduledFuture.java19 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
DForkJoinTask.java20 import java.util.concurrent.RunnableFuture;
1349 implements RunnableFuture<T> {
1368 implements RunnableFuture<Void> {
1403 implements RunnableFuture<T> {
DFutureTask.java34 public class FutureTask<V> implements RunnableFuture<V> {
DForkJoinPool.java20 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/
DExecutorCompletionServiceTest.java20 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()
DThreadPoolExecutorSubclassTest.java20 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()