public abstract class AbstractPromiseLikeDecorator<T,D extends CompletionStage<T>> extends AbstractCompletionStageDecorator<T,D> implements CompletionStage<T>, Decorator<T>
delegate| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPromiseLikeDecorator(D delegate) |
toCompletableFuture, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoCompletableFutureprotected AbstractPromiseLikeDecorator(D delegate)
protected <U> Promise<U> wrap(CompletionStage<U> original)
wrap in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>protected abstract <U> Promise<U> wrapNew(CompletionStage<U> original)
wrapNew in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenApply(Function<? super T,? extends U> fn)
thenApply in interface CompletionStage<T>thenApply in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenApplyAsync(Function<? super T,? extends U> fn)
thenApplyAsync in interface CompletionStage<T>thenApplyAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenApplyAsync(Function<? super T,? extends U> fn, Executor executor)
thenApplyAsync in interface CompletionStage<T>thenApplyAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenAccept(Consumer<? super T> action)
thenAccept in interface CompletionStage<T>thenAccept in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenAcceptAsync(Consumer<? super T> action)
thenAcceptAsync in interface CompletionStage<T>thenAcceptAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenAcceptAsync(Consumer<? super T> action, Executor executor)
thenAcceptAsync in interface CompletionStage<T>thenAcceptAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenRun(Runnable action)
thenRun in interface CompletionStage<T>thenRun in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenRunAsync(Runnable action)
thenRunAsync in interface CompletionStage<T>thenRunAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> thenRunAsync(Runnable action, Executor executor)
thenRunAsync in interface CompletionStage<T>thenRunAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U,V> Promise<V> thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)
thenCombine in interface CompletionStage<T>thenCombine in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U,V> Promise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)
thenCombineAsync in interface CompletionStage<T>thenCombineAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U,V> Promise<V> thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor)
thenCombineAsync in interface CompletionStage<T>thenCombineAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<Void> thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
thenAcceptBoth in interface CompletionStage<T>thenAcceptBoth in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
thenAcceptBothAsync in interface CompletionStage<T>thenAcceptBothAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)
thenAcceptBothAsync in interface CompletionStage<T>thenAcceptBothAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterBoth(CompletionStage<?> other, Runnable action)
runAfterBoth in interface CompletionStage<T>runAfterBoth in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action)
runAfterBothAsync in interface CompletionStage<T>runAfterBothAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterBothAsync in interface CompletionStage<T>runAfterBothAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> applyToEither(CompletionStage<? extends T> other, Function<? super T,U> fn)
applyToEither in interface CompletionStage<T>applyToEither in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn)
applyToEitherAsync in interface CompletionStage<T>applyToEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T,U> fn, Executor executor)
applyToEitherAsync in interface CompletionStage<T>applyToEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action)
acceptEither in interface CompletionStage<T>acceptEither in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action)
acceptEitherAsync in interface CompletionStage<T>acceptEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor)
acceptEitherAsync in interface CompletionStage<T>acceptEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterEither(CompletionStage<?> other, Runnable action)
runAfterEither in interface CompletionStage<T>runAfterEither in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action)
runAfterEitherAsync in interface CompletionStage<T>runAfterEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<Void> runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor)
runAfterEitherAsync in interface CompletionStage<T>runAfterEitherAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
thenCompose in interface CompletionStage<T>thenCompose in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, Executor executor)
thenComposeAsync in interface CompletionStage<T>thenComposeAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionally(Function<Throwable,? extends T> fn)
exceptionally in interface CompletionStage<T>exceptionally in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionallyAsync(Function<Throwable,? extends T> fn)
exceptionallyAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionallyAsync(Function<Throwable,? extends T> fn, Executor executor)
exceptionallyAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionallyCompose(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyCompose in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn)
exceptionallyComposeAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, Executor executor)
exceptionallyComposeAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> whenComplete(BiConsumer<? super T,? super Throwable> action)
whenComplete in interface CompletionStage<T>whenComplete in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
whenCompleteAsync in interface CompletionStage<T>whenCompleteAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public Promise<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)
whenCompleteAsync in interface CompletionStage<T>whenCompleteAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> handle(BiFunction<? super T,Throwable,? extends U> fn)
handle in interface CompletionStage<T>handle in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn)
handleAsync in interface CompletionStage<T>handleAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public <U> Promise<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)
handleAsync in interface CompletionStage<T>handleAsync in class AbstractCompletionStageDecorator<T,D extends CompletionStage<T>>public CompletionStage<T> α()
Copyright © 2021. All rights reserved.