Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java112 QueueingFuture(RunnableFuture<V> task, in QueueingFuture()
123 private RunnableFuture<V> newTaskFor(Callable<V> task) { in newTaskFor()
130 private RunnableFuture<V> newTaskFor(Runnable task, V 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()
112 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { in newTaskFor()
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()
DRunnableFuture.java48 public interface RunnableFuture<V> extends Runnable, Future<V> { interface
DRunnableScheduledFuture.java48 public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V> {
DForkJoinTask.java1347 implements RunnableFuture<T> {
1371 implements RunnableFuture<Void> {
1420 implements RunnableFuture<T> {
1449 implements RunnableFuture<T> {
DFutureTask.java66 public class FutureTask<V> implements RunnableFuture<V> {
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.java27 import java.util.concurrent.RunnableFuture;
66 public <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { 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/src/test/java/util/concurrent/tck/
DExecutorCompletionServiceTest.java48 import java.util.concurrent.RunnableFuture;
232 protected <T> RunnableFuture<T> newTaskFor(Callable<T> c) { in testNewTaskForCallable()
262 protected <T> RunnableFuture<T> newTaskFor(Runnable t, T r) { in testNewTaskForRunnable()
DThreadPoolExecutorSubclassTest.java54 import java.util.concurrent.RunnableFuture;
75 static class CustomTask<V> implements RunnableFuture<V> {
175 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { in newTaskFor()
178 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.bp1017 "ojluni/src/main/java/java/util/concurrent/RunnableFuture.java",
DEXPECTED_UPSTREAM1068 …va/java/util/concurrent/RunnableFuture.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
/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…
16074 public class FutureTask<V> implements java.util.concurrent.RunnableFuture<V> {
16255 public interface RunnableFuture<V> extends java.lang.Runnable java.util.concurrent.Future<V> {
16258 …public interface RunnableScheduledFuture<V> extends java.util.concurrent.RunnableFuture<V> java.ut…