Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java115 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()
DAbstractExecutorService.java92 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()
DRunnableFuture.java48 public interface RunnableFuture<V> extends Runnable, Future<V> { interface
DRunnableScheduledFuture.java48 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
DForkJoinTask.java1368 implements RunnableFuture<T> {
1387 implements RunnableFuture<Void> {
1422 implements RunnableFuture<T> {
DFutureTask.java64 public class FutureTask<V> implements RunnableFuture<V> {
DForkJoinPool.java3454 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/
DExecutorCompletionServiceTest.java20 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()
DThreadPoolExecutorSubclassTest.java29 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/
DFutureTask.java41 public class FutureTask<V> implements java.util.concurrent.RunnableFuture<V> {
/libcore/
Dopenjdk_java_files.bp969 "ojluni/src/main/java/java/util/concurrent/RunnableFuture.java",