Home
last modified time | relevance | path

Searched refs:CompletableFuture (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java12 import static java.util.concurrent.CompletableFuture.completedFuture;
13 import static java.util.concurrent.CompletableFuture.failedFuture;
28 import java.util.concurrent.CompletableFuture;
64 void checkIncomplete(CompletableFuture<?> f) { in checkIncomplete()
79 <T> void checkCompletedNormally(CompletableFuture<T> f, T value) { in checkCompletedNormally()
101 <U> Throwable exceptionalCompletion(CompletableFuture<U> f) { in exceptionalCompletion()
107 void checkCompletedExceptionally(CompletableFuture<?> f, in checkCompletedExceptionally()
153 void checkCompletedWithWrappedCFException(CompletableFuture<?> f) {
158 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
163 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java115 public class CompletableFuture<T> implements Future<T>, CompletionStage<T> { class
445 abstract CompletableFuture<?> tryFire(int mode); in tryFire()
470 CompletableFuture<?> f = this; Completion h; in postComplete()
473 CompletableFuture<?> d; Completion t; in postComplete()
517 CompletableFuture<V> dep; // the dependent to complete
518 CompletableFuture<T> src; // source for action
520 UniCompletion(Executor executor, CompletableFuture<V> dep, in UniCompletion()
521 CompletableFuture<T> src) { in UniCompletion()
558 final CompletableFuture<T> postFire(CompletableFuture<?> a, int mode) { in postFire()
577 UniApply(Executor executor, CompletableFuture<V> dep, in UniApply()
[all …]
DCompletionStage.java867 public CompletableFuture<T> toCompletableFuture(); in toCompletableFuture()
/libcore/
Dopenjdk_java_files.mk925 ojluni/src/main/java/java/util/concurrent/CompletableFuture.java \