Package net.binis.codegen.async.executor
Class CodeGenCompletableFuture<T>
java.lang.Object
java.util.concurrent.CompletableFuture<T>
net.binis.codegen.async.executor.CodeGenCompletableFuture<T>
- All Implemented Interfaces:
CompletionStage<T>,Future<T>
public class CodeGenCompletableFuture<T> extends CompletableFuture<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Constructor Summary
Constructors Constructor Description CodeGenCompletableFuture(Executor executor) -
Method Summary
Modifier and Type Method Description ExecutordefaultExecutor()<U> CompletableFuture<U>newIncompleteFuture()static <U> CompletableFuture<U>newSupplyAsync(Executor executor, Supplier<U> supplier)static CompletableFuture<Void>runAsync(Executor executor, Runnable runnable)Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Constructor Details
-
Method Details
-
defaultExecutor
- Overrides:
defaultExecutorin classCompletableFuture<T>
-
newIncompleteFuture
- Overrides:
newIncompleteFuturein classCompletableFuture<T>
-
runAsync
-
newSupplyAsync
-