public abstract class AbstractDependentPromiseDecorator<T> extends AbstractPromiseDecorator<T,DependentPromise<T>> implements DependentPromise<T>
delegate| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDependentPromiseDecorator(DependentPromise<T> delegate) |
getNow, getNow, isCompletedExceptionally, join, raw, unwrapcancel, get, get, isCancelled, isDoneαtoCompletableFuture, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, asʹ, from, fromgetNow, getNow, isCompletedExceptionally, join, raw, unwraptoCompletableFutureprotected AbstractDependentPromiseDecorator(DependentPromise<T> delegate)
protected <U> DependentPromise<U> wrap(CompletionStage<U> original)
wrap in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>protected abstract <U> DependentPromise<U> wrapNew(CompletionStage<U> original)
wrapNew in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<T> dependent()
PromisePromise to a DependentPromise
The returned DependentPromise does not implicitly enlist any CompletionStage
for cancellation (neither self, nor passed as arguments to combining methods);
only enlisting via explicit parameter is supporteddependent in interface Promise<T>dependent in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> dependent(Set<PromiseOrigin> defaultEnlistOptions)
PromisePromise to a DependentPromise
The returned DependentPromise does implicitly enlist CompletionStage
for cancellation (either self, and/or passed as arguments to combining methods)
according to defaultEnlistOptions parameterdependent in interface Promise<T>dependent in class AbstractPromiseDecorator<T,DependentPromise<T>>defaultEnlistOptions - defines what CompletionStage should be enlisted implicitly for cancellationpublic DependentPromise<T> defaultAsyncOn(Executor executor)
defaultAsyncOn in interface DependentPromise<T>defaultAsyncOn in interface Promise<T>defaultAsyncOn in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onCancel(Runnable code)
onCancel in interface DependentPromise<T>onCancel in interface Promise<T>onCancel in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> delay(long timeout, TimeUnit unit)
delay in interface DependentPromise<T>delay in interface Promise<T>delay in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> delay(long timeout, TimeUnit unit, boolean delayOnError)
delay in interface DependentPromise<T>delay in interface Promise<T>delay in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> delay(Duration duration)
delay in interface DependentPromise<T>delay in interface Promise<T>delay in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> delay(Duration duration, boolean delayOnError)
delay in interface DependentPromise<T>delay in interface Promise<T>delay in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> delay(long timeout, TimeUnit unit, boolean delayOnError, boolean enlistOrigin)
delay in interface DependentPromise<T>public DependentPromise<T> delay(Duration duration, boolean delayOnError, boolean enlistOrigin)
delay in interface DependentPromise<T>public DependentPromise<T> orTimeout(long timeout, TimeUnit unit)
orTimeout in interface DependentPromise<T>orTimeout in interface Promise<T>orTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> orTimeout(long timeout, TimeUnit unit, boolean cancelOnTimeout)
orTimeout in interface DependentPromise<T>orTimeout in interface Promise<T>orTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> orTimeout(Duration duration)
orTimeout in interface DependentPromise<T>orTimeout in interface Promise<T>orTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> orTimeout(Duration duration, boolean cancelOnTimeout)
orTimeout in interface DependentPromise<T>orTimeout in interface Promise<T>orTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> orTimeout(long timeout, TimeUnit unit, boolean cancelOnTimeout, boolean enlistOrigin)
orTimeout in interface DependentPromise<T>public DependentPromise<T> orTimeout(Duration duration, boolean cancelOnTimeout, boolean enlistOrigin)
orTimeout in interface DependentPromise<T>public DependentPromise<T> onTimeout(T value, long timeout, TimeUnit unit)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(T value, long timeout, TimeUnit unit, boolean cancelOnTimeout)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(T value, Duration duration)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(T value, Duration duration, boolean cancelOnTimeout)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, long timeout, TimeUnit unit)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, long timeout, TimeUnit unit, boolean cancelOnTimeout)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, Duration duration)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, Duration duration, boolean cancelOnTimeout)
onTimeout in interface DependentPromise<T>onTimeout in interface Promise<T>onTimeout in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> onTimeout(T value, long timeout, TimeUnit unit, boolean cancelOnTimeout, boolean enlistOrigin)
onTimeout in interface DependentPromise<T>public DependentPromise<T> onTimeout(T value, Duration duration, boolean cancelOnTimeout, boolean enlistOrigin)
onTimeout in interface DependentPromise<T>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, long timeout, TimeUnit unit, boolean cancelOnTimeout, boolean enlistOrigin)
onTimeout in interface DependentPromise<T>public DependentPromise<T> onTimeout(Supplier<? extends T> supplier, Duration duration, boolean cancelOnTimeout, boolean enlistOrigin)
onTimeout in interface DependentPromise<T>public <U> DependentPromise<U> thenApply(Function<? super T,? extends U> fn, boolean enlistOrigin)
thenApply in interface DependentPromise<T>public <U> DependentPromise<U> thenApplyAsync(Function<? super T,? extends U> fn, boolean enlistOrigin)
thenApplyAsync in interface DependentPromise<T>public <U> DependentPromise<U> thenApplyAsync(Function<? super T,? extends U> fn, Executor executor, boolean enlistOrigin)
thenApplyAsync in interface DependentPromise<T>public DependentPromise<Void> thenAccept(Consumer<? super T> action, boolean enlistOrigin)
thenAccept in interface DependentPromise<T>public DependentPromise<Void> thenAcceptAsync(Consumer<? super T> action, boolean enlistOrigin)
thenAcceptAsync in interface DependentPromise<T>public DependentPromise<Void> thenAcceptAsync(Consumer<? super T> action, Executor executor, boolean enlistOrigin)
thenAcceptAsync in interface DependentPromise<T>public DependentPromise<Void> thenRun(Runnable action, boolean enlistOrigin)
thenRun in interface DependentPromise<T>public DependentPromise<Void> thenRunAsync(Runnable action, boolean enlistOrigin)
thenRunAsync in interface DependentPromise<T>public DependentPromise<Void> thenRunAsync(Runnable action, Executor executor, boolean enlistOrigin)
thenRunAsync in interface DependentPromise<T>public <U,V> DependentPromise<V> thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Set<PromiseOrigin> enlistOptions)
thenCombine in interface DependentPromise<T>public <U,V> DependentPromise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Set<PromiseOrigin> enlistOptions)
thenCombineAsync in interface DependentPromise<T>public <U,V> DependentPromise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor, Set<PromiseOrigin> enlistOptions)
thenCombineAsync in interface DependentPromise<T>public <U> DependentPromise<Void> thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Set<PromiseOrigin> enlistOptions)
thenAcceptBoth in interface DependentPromise<T>public <U> DependentPromise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Set<PromiseOrigin> enlistOptions)
thenAcceptBothAsync in interface DependentPromise<T>public <U> DependentPromise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor, Set<PromiseOrigin> enlistOptions)
thenAcceptBothAsync in interface DependentPromise<T>public DependentPromise<Void> runAfterBoth(CompletionStage<?> other, Runnable action, Set<PromiseOrigin> enlistOptions)
runAfterBoth in interface DependentPromise<T>public DependentPromise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Set<PromiseOrigin> enlistOptions)
runAfterBothAsync in interface DependentPromise<T>public DependentPromise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor, Set<PromiseOrigin> enlistOptions)
runAfterBothAsync in interface DependentPromise<T>public <U> DependentPromise<U> applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn, Set<PromiseOrigin> enlistOptions)
applyToEither in interface DependentPromise<T>public <U> DependentPromise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Set<PromiseOrigin> enlistOptions)
applyToEitherAsync in interface DependentPromise<T>public <U> DependentPromise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor, Set<PromiseOrigin> enlistOptions)
applyToEitherAsync in interface DependentPromise<T>public DependentPromise<Void> acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action, Set<PromiseOrigin> enlistOptions)
acceptEither in interface DependentPromise<T>public DependentPromise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Set<PromiseOrigin> enlistOptions)
acceptEitherAsync in interface DependentPromise<T>public DependentPromise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor, Set<PromiseOrigin> enlistOptions)
acceptEitherAsync in interface DependentPromise<T>public DependentPromise<Void> runAfterEither(CompletionStage<?> other, Runnable action, Set<PromiseOrigin> enlistOptions)
runAfterEither in interface DependentPromise<T>public DependentPromise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Set<PromiseOrigin> enlistOptions)
runAfterEitherAsync in interface DependentPromise<T>public DependentPromise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor, Set<PromiseOrigin> enlistOptions)
runAfterEitherAsync in interface DependentPromise<T>public <U> DependentPromise<U> thenCompose(Function<? super T,? extends CompletionStage<U>> fn, boolean enlistOrigin)
thenCompose in interface DependentPromise<T>public <U> DependentPromise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, boolean enlistOrigin)
thenComposeAsync in interface DependentPromise<T>public <U> DependentPromise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor, boolean enlistOrigin)
thenComposeAsync in interface DependentPromise<T>public DependentPromise<T> exceptionally(Function<Throwable,? extends T> fn, boolean enlistOrigin)
exceptionally in interface DependentPromise<T>public DependentPromise<T> exceptionallyAsync(Function<Throwable,? extends T> fn, boolean enlistOrigin)
exceptionallyAsync in interface DependentPromise<T>public DependentPromise<T> exceptionallyAsync(Function<Throwable,? extends T> fn, Executor executor, boolean enlistOrigin)
exceptionallyAsync in interface DependentPromise<T>public DependentPromise<T> exceptionallyCompose(Function<Throwable,? extends CompletionStage<T>> fn, boolean enlistOrigin)
exceptionallyCompose in interface DependentPromise<T>public DependentPromise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, boolean enlistOrigin)
exceptionallyComposeAsync in interface DependentPromise<T>public DependentPromise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, Executor executor, boolean enlistOrigin)
exceptionallyComposeAsync in interface DependentPromise<T>public DependentPromise<T> thenFilter(Predicate<? super T> predicate, boolean enlistOrigin)
thenFilter in interface DependentPromise<T>public DependentPromise<T> thenFilter(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier, boolean enlistOrigin)
thenFilter in interface DependentPromise<T>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, boolean enlistOrigin)
thenFilterAsync in interface DependentPromise<T>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier, boolean enlistOrigin)
thenFilterAsync in interface DependentPromise<T>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Executor executor, boolean enlistOrigin)
thenFilterAsync in interface DependentPromise<T>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier, Executor executor, boolean enlistOrigin)
thenFilterAsync in interface DependentPromise<T>public DependentPromise<T> whenComplete(BiConsumer<? super T,? super Throwable> action, boolean enlistOrigin)
whenComplete in interface DependentPromise<T>public DependentPromise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, boolean enlistOrigin)
whenCompleteAsync in interface DependentPromise<T>public DependentPromise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor, boolean enlistOrigin)
whenCompleteAsync in interface DependentPromise<T>public <U> DependentPromise<U> handle(BiFunction<? super T,Throwable,? extends U> fn, boolean enlistOrigin)
handle in interface DependentPromise<T>public <U> DependentPromise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn, boolean enlistOrigin)
handleAsync in interface DependentPromise<T>public <U> DependentPromise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor, boolean enlistOrigin)
handleAsync in interface DependentPromise<T>public <U> DependentPromise<U> thenApply(Function<? super T,? extends U> fn)
thenApply in interface CompletionStage<T>thenApply in interface DependentPromise<T>thenApply in interface Promise<T>thenApply in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> thenApplyAsync(Function<? super T,? extends U> fn)
thenApplyAsync in interface CompletionStage<T>thenApplyAsync in interface DependentPromise<T>thenApplyAsync in interface Promise<T>thenApplyAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> thenApplyAsync(Function<? super T,? extends U> fn, Executor executor)
thenApplyAsync in interface CompletionStage<T>thenApplyAsync in interface DependentPromise<T>thenApplyAsync in interface Promise<T>thenApplyAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenAccept(Consumer<? super T> action)
thenAccept in interface CompletionStage<T>thenAccept in interface DependentPromise<T>thenAccept in interface Promise<T>thenAccept in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenAcceptAsync(Consumer<? super T> action)
thenAcceptAsync in interface CompletionStage<T>thenAcceptAsync in interface DependentPromise<T>thenAcceptAsync in interface Promise<T>thenAcceptAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenAcceptAsync(Consumer<? super T> action, Executor executor)
thenAcceptAsync in interface CompletionStage<T>thenAcceptAsync in interface DependentPromise<T>thenAcceptAsync in interface Promise<T>thenAcceptAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenRun(Runnable action)
thenRun in interface CompletionStage<T>thenRun in interface DependentPromise<T>thenRun in interface Promise<T>thenRun in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenRunAsync(Runnable action)
thenRunAsync in interface CompletionStage<T>thenRunAsync in interface DependentPromise<T>thenRunAsync in interface Promise<T>thenRunAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> thenRunAsync(Runnable action, Executor executor)
thenRunAsync in interface CompletionStage<T>thenRunAsync in interface DependentPromise<T>thenRunAsync in interface Promise<T>thenRunAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U,V> DependentPromise<V> thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)
thenCombine in interface CompletionStage<T>thenCombine in interface DependentPromise<T>thenCombine in interface Promise<T>thenCombine in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U,V> DependentPromise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)
thenCombineAsync in interface CompletionStage<T>thenCombineAsync in interface DependentPromise<T>thenCombineAsync in interface Promise<T>thenCombineAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U,V> DependentPromise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor)
thenCombineAsync in interface CompletionStage<T>thenCombineAsync in interface DependentPromise<T>thenCombineAsync in interface Promise<T>thenCombineAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<Void> thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
thenAcceptBoth in interface CompletionStage<T>thenAcceptBoth in interface DependentPromise<T>thenAcceptBoth in interface Promise<T>thenAcceptBoth in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
thenAcceptBothAsync in interface CompletionStage<T>thenAcceptBothAsync in interface DependentPromise<T>thenAcceptBothAsync in interface Promise<T>thenAcceptBothAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)
thenAcceptBothAsync in interface CompletionStage<T>thenAcceptBothAsync in interface DependentPromise<T>thenAcceptBothAsync in interface Promise<T>thenAcceptBothAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterBoth(CompletionStage<?> other, Runnable action)
runAfterBoth in interface CompletionStage<T>runAfterBoth in interface DependentPromise<T>runAfterBoth in interface Promise<T>runAfterBoth in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action)
runAfterBothAsync in interface CompletionStage<T>runAfterBothAsync in interface DependentPromise<T>runAfterBothAsync in interface Promise<T>runAfterBothAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterBothAsync in interface CompletionStage<T>runAfterBothAsync in interface DependentPromise<T>runAfterBothAsync in interface Promise<T>runAfterBothAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn)
applyToEither in interface CompletionStage<T>applyToEither in interface DependentPromise<T>applyToEither in interface Promise<T>applyToEither in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn)
applyToEitherAsync in interface CompletionStage<T>applyToEitherAsync in interface DependentPromise<T>applyToEitherAsync in interface Promise<T>applyToEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor)
applyToEitherAsync in interface CompletionStage<T>applyToEitherAsync in interface DependentPromise<T>applyToEitherAsync in interface Promise<T>applyToEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action)
acceptEither in interface CompletionStage<T>acceptEither in interface DependentPromise<T>acceptEither in interface Promise<T>acceptEither in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action)
acceptEitherAsync in interface CompletionStage<T>acceptEitherAsync in interface DependentPromise<T>acceptEitherAsync in interface Promise<T>acceptEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor)
acceptEitherAsync in interface CompletionStage<T>acceptEitherAsync in interface DependentPromise<T>acceptEitherAsync in interface Promise<T>acceptEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterEither(CompletionStage<?> other, Runnable action)
runAfterEither in interface CompletionStage<T>runAfterEither in interface DependentPromise<T>runAfterEither in interface Promise<T>runAfterEither in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action)
runAfterEitherAsync in interface CompletionStage<T>runAfterEitherAsync in interface DependentPromise<T>runAfterEitherAsync in interface Promise<T>runAfterEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterEitherAsync in interface CompletionStage<T>runAfterEitherAsync in interface DependentPromise<T>runAfterEitherAsync in interface Promise<T>runAfterEitherAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
thenCompose in interface CompletionStage<T>thenCompose in interface DependentPromise<T>thenCompose in interface Promise<T>thenCompose in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in interface DependentPromise<T>thenComposeAsync in interface Promise<T>thenComposeAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in interface DependentPromise<T>thenComposeAsync in interface Promise<T>thenComposeAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionally(Function<Throwable,? extends T> fn)
exceptionally in interface CompletionStage<T>exceptionally in interface DependentPromise<T>exceptionally in interface Promise<T>exceptionally in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionallyAsync(Function<Throwable,? extends T> fn)
exceptionallyAsync in interface DependentPromise<T>exceptionallyAsync in interface Promise<T>exceptionallyAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionallyAsync(Function<Throwable,? extends T> fn, Executor executor)
exceptionallyAsync in interface DependentPromise<T>exceptionallyAsync in interface Promise<T>exceptionallyAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionallyCompose(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyCompose in interface DependentPromise<T>exceptionallyCompose in interface Promise<T>exceptionallyCompose in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyComposeAsync in interface DependentPromise<T>exceptionallyComposeAsync in interface Promise<T>exceptionallyComposeAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, Executor executor)
exceptionallyComposeAsync in interface DependentPromise<T>exceptionallyComposeAsync in interface Promise<T>exceptionallyComposeAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilter(Predicate<? super T> predicate)
thenFilter in interface DependentPromise<T>thenFilter in interface Promise<T>thenFilter in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilter(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier)
thenFilter in interface DependentPromise<T>thenFilter in interface Promise<T>thenFilter in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate)
thenFilterAsync in interface DependentPromise<T>thenFilterAsync in interface Promise<T>thenFilterAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier)
thenFilterAsync in interface DependentPromise<T>thenFilterAsync in interface Promise<T>thenFilterAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Executor executor)
thenFilterAsync in interface DependentPromise<T>thenFilterAsync in interface Promise<T>thenFilterAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> thenFilterAsync(Predicate<? super T> predicate, Function<? super T,Throwable> errorSupplier, Executor executor)
thenFilterAsync in interface DependentPromise<T>thenFilterAsync in interface Promise<T>thenFilterAsync in class AbstractPromiseDecorator<T,DependentPromise<T>>public DependentPromise<T> whenComplete(BiConsumer<? super T,? super Throwable> action)
whenComplete in interface CompletionStage<T>whenComplete in interface DependentPromise<T>whenComplete in interface Promise<T>whenComplete in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
whenCompleteAsync in interface CompletionStage<T>whenCompleteAsync in interface DependentPromise<T>whenCompleteAsync in interface Promise<T>whenCompleteAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public DependentPromise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)
whenCompleteAsync in interface CompletionStage<T>whenCompleteAsync in interface DependentPromise<T>whenCompleteAsync in interface Promise<T>whenCompleteAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> handle(BiFunction<? super T,Throwable,? extends U> fn)
handle in interface CompletionStage<T>handle in interface DependentPromise<T>handle in interface Promise<T>handle in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn)
handleAsync in interface CompletionStage<T>handleAsync in interface DependentPromise<T>handleAsync in interface Promise<T>handleAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public <U> DependentPromise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)
handleAsync in interface CompletionStage<T>handleAsync in interface DependentPromise<T>handleAsync in interface Promise<T>handleAsync in class AbstractPromiseLikeDecorator<T,DependentPromise<T>>public CompletableFuture<T> toCompletableFuture(boolean enlistOrigin)
toCompletableFuture in interface DependentPromise<T>Copyright © 2021. All rights reserved.