Uses of Class
space.arim.omnibus.util.concurrent.CompetitiveFuture
Packages that use CompetitiveFuture
Package
Description
Core interfaces for concurrency-related classes.
-
Uses of CompetitiveFuture in space.arim.omnibus.util.concurrent
Methods in space.arim.omnibus.util.concurrent that return CompetitiveFutureModifier and TypeMethodDescriptionstatic <T> CompetitiveFuture<T> CompetitiveFuture.completedFuture(T value, Executor defaultExecutor) Creates a precompleted future with the specified value.static <T> CompetitiveFuture<T> CompetitiveFuture.failedFuture(Throwable ex, Executor defaultExecutor) Creates a future completed exceptionally with the specified exception.static CompetitiveFuture<Void> Runs an action asynchronously.static <T> CompetitiveFuture<T> CompetitiveFuture.supplyAsync(Supplier<T> supplier, Executor defaultExecutor) Supplies a value asynchronously.