public interface Completion<T> extends Future<T>, CompletionStage<T>
toCompletableFuture<U> Completion<U> thenApply(java.util.function.Function<? super T,? extends U> fn)
thenApply in interface CompletionStage<T><U> Completion<U> thenApplyAsync(java.util.function.Function<? super T,? extends U> fn)
thenApplyAsync in interface CompletionStage<T><U> Completion<U> thenApplyAsync(java.util.function.Function<? super T,? extends U> fn, Executor executor)
thenApplyAsync in interface CompletionStage<T>Completion<Void> thenAccept(java.util.function.Consumer<? super T> action)
thenAccept in interface CompletionStage<T>Completion<Void> thenAcceptAsync(java.util.function.Consumer<? super T> action)
thenAcceptAsync in interface CompletionStage<T>Completion<Void> thenAcceptAsync(java.util.function.Consumer<? super T> action, Executor executor)
thenAcceptAsync in interface CompletionStage<T>Completion<Void> thenRun(Runnable action)
thenRun in interface CompletionStage<T>Completion<Void> thenRunAsync(Runnable action)
thenRunAsync in interface CompletionStage<T>Completion<Void> thenRunAsync(Runnable action, Executor executor)
thenRunAsync in interface CompletionStage<T><U,V> Completion<V> thenCombine(CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn)
thenCombine in interface CompletionStage<T><U,V> Completion<V> thenCombineAsync(CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn)
thenCombineAsync in interface CompletionStage<T><U,V> Completion<V> thenCombineAsync(CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? super U,? extends V> fn, Executor executor)
thenCombineAsync in interface CompletionStage<T><U> Completion<Void> thenAcceptBoth(CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action)
thenAcceptBoth in interface CompletionStage<T><U> Completion<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action)
thenAcceptBothAsync in interface CompletionStage<T><U> Completion<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action, Executor executor)
thenAcceptBothAsync in interface CompletionStage<T>Completion<Void> runAfterBoth(CompletionStage<?> other, Runnable action)
runAfterBoth in interface CompletionStage<T>Completion<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action)
runAfterBothAsync in interface CompletionStage<T>Completion<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterBothAsync in interface CompletionStage<T><U> Completion<U> applyToEither(CompletionStage<? extends T> other, java.util.function.Function<? super T,U> fn)
applyToEither in interface CompletionStage<T><U> Completion<U> applyToEitherAsync(CompletionStage<? extends T> other, java.util.function.Function<? super T,U> fn)
applyToEitherAsync in interface CompletionStage<T><U> Completion<U> applyToEitherAsync(CompletionStage<? extends T> other, java.util.function.Function<? super T,U> fn, Executor executor)
applyToEitherAsync in interface CompletionStage<T>Completion<Void> acceptEither(CompletionStage<? extends T> other, java.util.function.Consumer<? super T> action)
acceptEither in interface CompletionStage<T>Completion<Void> acceptEitherAsync(CompletionStage<? extends T> other, java.util.function.Consumer<? super T> action)
acceptEitherAsync in interface CompletionStage<T>Completion<Void> acceptEitherAsync(CompletionStage<? extends T> other, java.util.function.Consumer<? super T> action, Executor executor)
acceptEitherAsync in interface CompletionStage<T>Completion<Void> runAfterEither(CompletionStage<?> other, Runnable action)
runAfterEither in interface CompletionStage<T>Completion<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action)
runAfterEitherAsync in interface CompletionStage<T>Completion<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterEitherAsync in interface CompletionStage<T><U> Completion<U> thenCompose(java.util.function.Function<? super T,? extends CompletionStage<U>> fn)
thenCompose in interface CompletionStage<T><U> Completion<U> thenComposeAsync(java.util.function.Function<? super T,? extends CompletionStage<U>> fn)
thenComposeAsync in interface CompletionStage<T><U> Completion<U> thenComposeAsync(java.util.function.Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
thenComposeAsync in interface CompletionStage<T>Completion<T> exceptionally(java.util.function.Function<Throwable,? extends T> fn)
exceptionally in interface CompletionStage<T>Completion<T> whenComplete(java.util.function.BiConsumer<? super T,? super Throwable> action)
whenComplete in interface CompletionStage<T>Completion<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super Throwable> action)
whenCompleteAsync in interface CompletionStage<T>Completion<T> whenCompleteAsync(java.util.function.BiConsumer<? super T,? super Throwable> action, Executor executor)
whenCompleteAsync in interface CompletionStage<T><U> Completion<U> handle(java.util.function.BiFunction<? super T,Throwable,? extends U> fn)
handle in interface CompletionStage<T><U> Completion<U> handleAsync(java.util.function.BiFunction<? super T,Throwable,? extends U> fn)
handleAsync in interface CompletionStage<T><U> Completion<U> handleAsync(java.util.function.BiFunction<? super T,Throwable,? extends U> fn, Executor executor)
handleAsync in interface CompletionStage<T>T join() throws CancellationException, CompletionException
T getNow(@Nullable T valueIfAbsent) throws CancellationException, CompletionException
static <T> Completion<T> valueOf(CompletableFuture<T> future)
Copyright © 2015–2016 Zalando SE. All rights reserved.