public class TimingFutureBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Void> |
runAsync(Runnable runnable) |
default CompletableFuture<Void> |
runAsync(Runnable runnable,
Executor executor) |
default <T> CompletableFuture<T> |
supplyAsync(Supplier<T> supplier) |
default <T> CompletableFuture<T> |
supplyAsync(Supplier<T> supplier,
Executor executor) |
<T> CompletableFuture<T> |
supplyFuture(Supplier<CompletableFuture<T>> supplier) |
public <T> CompletableFuture<T> supplyFuture(Supplier<CompletableFuture<T>> supplier)
public CompletableFuture<Void> runAsync(Runnable runnable)
public CompletableFuture<Void> runAsync(Runnable runnable, Executor executor)
public <T> CompletableFuture<T> supplyAsync(Supplier<T> supplier)
public <T> CompletableFuture<T> supplyAsync(Supplier<T> supplier, Executor executor)
Copyright © 2015. All rights reserved.