Top Constructors Methods
org.jooq.lambda

public final Class Async

extends Object
Class Inheritance
Imports
java.util.concurrent.CompletableFuture, .CompletionStage, .Executor, java.util.function.Supplier

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CompletionStage<Void>
runAsync(Runnable runnable, Executor executor)

public static CompletionStage<Void>
runAsync(Runnable runnable)

public static <U> CompletionStage<U>
supplyAsync(Supplier<U> supplier)

public static <U> CompletionStage<U>
supplyAsync(Supplier<U> supplier, Executor executor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Asyncback to summary
private Async()

Method Detail

runAsyncback to summary
public static CompletionStage<Void> runAsync(Runnable runnable, Executor executor)
runAsyncback to summary
public static CompletionStage<Void> runAsync(Runnable runnable)
supplyAsyncback to summary
public static <U> CompletionStage<U> supplyAsync(Supplier<U> supplier)
supplyAsyncback to summary
public static <U> CompletionStage<U> supplyAsync(Supplier<U> supplier, Executor executor)