Package org.teamapps.ux.task
Klasse ProgressCompletableFuture<T>
java.lang.Object
java.util.concurrent.CompletableFuture<T>
org.teamapps.ux.task.ProgressCompletableFuture<T>
- Alle implementierten Schnittstellen:
CompletionStage<T>,Future<T>
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTaskVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen java.util.concurrent.Future
Future.State -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleancompleteAsync(Supplier<? extends T> supplier) completeAsync(Supplier<? extends T> supplier, Executor executor) completeAsync(ProgressReportingSupplier<? extends T> supplier) completeAsync(ProgressReportingSupplier<? extends T> supplier, Executor executor) booleancompleteOnTimeout(T value, long timeout, TimeUnit unit) exceptionally(Function<Throwable, ? extends T> fn) exceptionally(ProgressReportingFunction<Throwable, ? extends T> fn) exceptionallyWithCurrentSessionContext(Function<Throwable, ? extends T> fn) <U> ProgressCompletableFuture<U>handle(BiFunction<? super T, Throwable, ? extends U> fn) <U> ProgressCompletableFuture<U>handle(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn) <U> ProgressCompletableFuture<U>handleAsync(BiFunction<? super T, Throwable, ? extends U> fn) <U> ProgressCompletableFuture<U>handleAsync(BiFunction<? super T, Throwable, ? extends U> fn, Executor executor) <U> ProgressCompletableFuture<U>handleAsync(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn) <U> ProgressCompletableFuture<U>handleAsync(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn, Executor executor) <U> ProgressCompletableFuture<U>handleWithCurrentSessionContext(BiFunction<? super T, Throwable, ? extends U> fn) <U> ProgressCompletableFuture<U>static ProgressCompletableFuture<Void>static ProgressCompletableFuture<Void>static ProgressCompletableFuture<Void>runAsync(ProgressReportingRunnable runnable) static ProgressCompletableFuture<Void>runAsync(ProgressReportingRunnable runnable, Executor executor) static <U> ProgressCompletableFuture<U>supplyAsync(Supplier<U> supplier) static <U> ProgressCompletableFuture<U>supplyAsync(Supplier<U> supplier, Executor executor) static <U> ProgressCompletableFuture<U>supplyAsync(ProgressReportingSupplier<U> supplier) static <U> ProgressCompletableFuture<U>supplyAsync(ProgressReportingSupplier<U> supplier, Executor executor) thenAccept(Consumer<? super T> action) thenAccept(ProgressReportingConsumer<? super T> action) thenAcceptAsync(Consumer<? super T> action) thenAcceptAsync(Consumer<? super T> action, Executor executor) thenAcceptAsync(ProgressReportingConsumer<? super T> action) thenAcceptAsync(ProgressReportingConsumer<? super T> action, Executor executor) thenAcceptWithCurrentSessionContext(Consumer<? super T> action) <U> ProgressCompletableFuture<U><U> ProgressCompletableFuture<U>thenApply(ProgressReportingFunction<? super T, ? extends U> fn) <U> ProgressCompletableFuture<U>thenApplyAsync(Function<? super T, ? extends U> fn) <U> ProgressCompletableFuture<U>thenApplyAsync(Function<? super T, ? extends U> fn, Executor executor) <U> ProgressCompletableFuture<U>thenApplyAsync(ProgressReportingFunction<? super T, ? extends U> fn) <U> ProgressCompletableFuture<U>thenApplyAsync(ProgressReportingFunction<? super T, ? extends U> fn, Executor executor) <U> ProgressCompletableFuture<U>thenApplyWithSessionContext(Function<? super T, ? extends U> fn) thenRun(ProgressReportingRunnable action) thenRunAsync(Runnable action) thenRunAsync(Runnable action, Executor executor) thenRunAsync(ProgressReportingRunnable action, Executor executor) whenComplete(BiConsumer<? super T, ? super Throwable> action) whenComplete(ProgressReportingBiConsumer<? super T, ? super Throwable> action) whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action) whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action, Executor executor) whenCompleteAsync(ProgressReportingBiConsumer<? super T, ? super Throwable> action) whenCompleteAsync(ProgressReportingBiConsumer<? super T, ? super Throwable> action, Executor executor) whenCompleteWithCurrentSessionContext(BiConsumer<? super T, ? super Throwable> action) Von Klasse geerbte Methoden java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, completedFuture, completedStage, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, exceptionNow, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, obtrudeException, obtrudeValue, resultNow, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, state, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, toString
-
Felddetails
-
ASYNC_POOL
-
-
Konstruktordetails
-
ProgressCompletableFuture
public ProgressCompletableFuture() -
ProgressCompletableFuture
-
-
Methodendetails
-
getProgress
-
complete
- Setzt außer Kraft:
completein KlasseCompletableFuture<T>
-
completeExceptionally
- Setzt außer Kraft:
completeExceptionallyin KlasseCompletableFuture<T>
-
newIncompleteFuture
- Setzt außer Kraft:
newIncompleteFuturein KlasseCompletableFuture<T>
-
supplyAsync
-
supplyAsync
public static <U> ProgressCompletableFuture<U> supplyAsync(ProgressReportingSupplier<U> supplier, Executor executor) -
runAsync
-
runAsync
public static ProgressCompletableFuture<Void> runAsync(ProgressReportingRunnable runnable, Executor executor) -
supplyAsync
-
supplyAsync
-
runAsync
-
runAsync
-
thenApplyWithSessionContext
public <U> ProgressCompletableFuture<U> thenApplyWithSessionContext(Function<? super T, ? extends U> fn) -
thenAcceptWithCurrentSessionContext
public ProgressCompletableFuture<Void> thenAcceptWithCurrentSessionContext(Consumer<? super T> action) -
thenRunWithCurrentSessionContext
-
whenCompleteWithCurrentSessionContext
public ProgressCompletableFuture<T> whenCompleteWithCurrentSessionContext(BiConsumer<? super T, ? super Throwable> action) -
handleWithCurrentSessionContext
public <U> ProgressCompletableFuture<U> handleWithCurrentSessionContext(BiFunction<? super T, Throwable, ? extends U> fn) -
exceptionallyWithCurrentSessionContext
public ProgressCompletableFuture<T> exceptionallyWithCurrentSessionContext(Function<Throwable, ? extends T> fn) -
thenApply
- Angegeben von:
thenApplyin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenApplyin KlasseCompletableFuture<T>
-
thenApplyAsync
- Angegeben von:
thenApplyAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenApplyAsyncin KlasseCompletableFuture<T>
-
thenApplyAsync
public <U> ProgressCompletableFuture<U> thenApplyAsync(Function<? super T, ? extends U> fn, Executor executor) - Angegeben von:
thenApplyAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenApplyAsyncin KlasseCompletableFuture<T>
-
thenAccept
- Angegeben von:
thenAcceptin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenAcceptin KlasseCompletableFuture<T>
-
thenAcceptAsync
- Angegeben von:
thenAcceptAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenAcceptAsyncin KlasseCompletableFuture<T>
-
thenAcceptAsync
public ProgressCompletableFuture<Void> thenAcceptAsync(Consumer<? super T> action, Executor executor) - Angegeben von:
thenAcceptAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenAcceptAsyncin KlasseCompletableFuture<T>
-
thenRun
- Angegeben von:
thenRunin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenRunin KlasseCompletableFuture<T>
-
thenRunAsync
- Angegeben von:
thenRunAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenRunAsyncin KlasseCompletableFuture<T>
-
thenRunAsync
- Angegeben von:
thenRunAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
thenRunAsyncin KlasseCompletableFuture<T>
-
whenComplete
- Angegeben von:
whenCompletein SchnittstelleCompletionStage<T>- Setzt außer Kraft:
whenCompletein KlasseCompletableFuture<T>
-
whenCompleteAsync
public ProgressCompletableFuture<T> whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action) - Angegeben von:
whenCompleteAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
whenCompleteAsyncin KlasseCompletableFuture<T>
-
whenCompleteAsync
public ProgressCompletableFuture<T> whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action, Executor executor) - Angegeben von:
whenCompleteAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
whenCompleteAsyncin KlasseCompletableFuture<T>
-
handle
- Angegeben von:
handlein SchnittstelleCompletionStage<T>- Setzt außer Kraft:
handlein KlasseCompletableFuture<T>
-
handleAsync
- Angegeben von:
handleAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
handleAsyncin KlasseCompletableFuture<T>
-
handleAsync
public <U> ProgressCompletableFuture<U> handleAsync(BiFunction<? super T, Throwable, ? extends U> fn, Executor executor) - Angegeben von:
handleAsyncin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
handleAsyncin KlasseCompletableFuture<T>
-
toCompletableFuture
- Angegeben von:
toCompletableFuturein SchnittstelleCompletionStage<T>- Setzt außer Kraft:
toCompletableFuturein KlasseCompletableFuture<T>
-
exceptionally
- Angegeben von:
exceptionallyin SchnittstelleCompletionStage<T>- Setzt außer Kraft:
exceptionallyin KlasseCompletableFuture<T>
-
completeAsync
public ProgressCompletableFuture<T> completeAsync(Supplier<? extends T> supplier, Executor executor) - Setzt außer Kraft:
completeAsyncin KlasseCompletableFuture<T>
-
completeAsync
- Setzt außer Kraft:
completeAsyncin KlasseCompletableFuture<T>
-
orTimeout
- Setzt außer Kraft:
orTimeoutin KlasseCompletableFuture<T>
-
completeOnTimeout
- Setzt außer Kraft:
completeOnTimeoutin KlasseCompletableFuture<T>
-
thenApply
public <U> ProgressCompletableFuture<U> thenApply(ProgressReportingFunction<? super T, ? extends U> fn) -
thenApplyAsync
public <U> ProgressCompletableFuture<U> thenApplyAsync(ProgressReportingFunction<? super T, ? extends U> fn) -
thenApplyAsync
public <U> ProgressCompletableFuture<U> thenApplyAsync(ProgressReportingFunction<? super T, ? extends U> fn, Executor executor) -
thenAccept
-
thenAcceptAsync
-
thenAcceptAsync
public ProgressCompletableFuture<Void> thenAcceptAsync(ProgressReportingConsumer<? super T> action, Executor executor) -
thenRun
-
thenRunAsync
-
thenRunAsync
public ProgressCompletableFuture<Void> thenRunAsync(ProgressReportingRunnable action, Executor executor) -
whenComplete
public ProgressCompletableFuture<T> whenComplete(ProgressReportingBiConsumer<? super T, ? super Throwable> action) -
whenCompleteAsync
public ProgressCompletableFuture<T> whenCompleteAsync(ProgressReportingBiConsumer<? super T, ? super Throwable> action) -
whenCompleteAsync
public ProgressCompletableFuture<T> whenCompleteAsync(ProgressReportingBiConsumer<? super T, ? super Throwable> action, Executor executor) -
handle
public <U> ProgressCompletableFuture<U> handle(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn) -
handleAsync
public <U> ProgressCompletableFuture<U> handleAsync(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn) -
handleAsync
public <U> ProgressCompletableFuture<U> handleAsync(ProgressReportingBiFunction<? super T, Throwable, ? extends U> fn, Executor executor) -
exceptionally
public ProgressCompletableFuture<T> exceptionally(ProgressReportingFunction<Throwable, ? extends T> fn) -
completeAsync
public ProgressCompletableFuture<T> completeAsync(ProgressReportingSupplier<? extends T> supplier, Executor executor) -
completeAsync
-