public class CompletableFutureWrapper<T> extends CompletableFutureDecorator<T>
delegate| Modifier | Constructor and Description |
|---|---|
protected |
CompletableFutureWrapper() |
protected |
CompletableFutureWrapper(CompletableFuture<T> delegate) |
getNow, isCompletedExceptionally, joincancel, get, get, isCancelled, isDoneacceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenRun, thenRunAsync, thenRunAsync, whenComplete, whenCompleteAsync, whenCompleteAsync, wraptoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, as, defaultAsyncOn, delay, delay, delay, delay, dependent, dependent, exceptionally, getNow, handle, handleAsync, handleAsync, onCancel, onTimeout, onTimeout, onTimeout, onTimeout, onTimeout, onTimeout, onTimeout, onTimeout, orTimeout, orTimeout, orTimeout, orTimeout, raw, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenFilter, thenFilter, thenFilterAsync, thenFilterAsync, thenFilterAsync, thenFilterAsync, thenRun, thenRunAsync, thenRunAsync, unwrap, whenComplete, whenCompleteAsync, whenCompleteAsyncprotected CompletableFutureWrapper()
protected CompletableFutureWrapper(CompletableFuture<T> delegate)
protected boolean success(T value)
@Deprecated protected boolean onSuccess(T value)
protected boolean failure(Throwable ex)
@Deprecated protected boolean onFailure(Throwable ex)
public CompletableFuture<T> toCompletableFuture()
toCompletableFuture in interface CompletionStage<T>toCompletableFuture in class AbstractCompletionStageDecorator<T,CompletableFuture<T>>public CompletionStage<T> α()
α in interface Decorator<T>α in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>protected <U> Promise<U> wrapNew(CompletionStage<U> original)
wrapNew in class CompletableFutureDecorator<T>public <U> Promise<U> thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
thenCompose in interface CompletionStage<T>thenCompose in interface Promise<T>thenCompose in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public <U> Promise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in interface Promise<T>thenComposeAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public <U> Promise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in interface Promise<T>thenComposeAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public Promise<T> exceptionallyAsync(Function<Throwable,? extends T> fn)
exceptionallyAsync in interface Promise<T>exceptionallyAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public Promise<T> exceptionallyAsync(Function<Throwable,? extends T> fn, Executor executor)
exceptionallyAsync in interface Promise<T>exceptionallyAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public Promise<T> exceptionallyCompose(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyCompose in interface Promise<T>exceptionallyCompose in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public Promise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyComposeAsync in interface Promise<T>exceptionallyComposeAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>public Promise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, Executor executor)
exceptionallyComposeAsync in interface Promise<T>exceptionallyComposeAsync in class AbstractPromiseLikeDecorator<T,CompletableFuture<T>>Copyright © 2021. All rights reserved.