public class Async extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Async() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
failedFuture(Throwable t) |
static io.grpc.netty.shaded.io.netty.util.Timeout |
runAfter(io.grpc.netty.shaded.io.netty.util.TimerTask task,
long delay,
TimeUnit unit)
Deprecated.
|
static <R> CompletableFuture<R> |
safeCall(Supplier<CompletableFuture<R>> fn)
Deprecated.
|
static <T,R> CompletableFuture<R> |
safeCall(T t,
Function<T,CompletableFuture<R>> fn)
Deprecated.
|
static <T,U,R> CompletableFuture<R> |
safeCall(T t,
U u,
BiFunction<T,U,CompletableFuture<R>> fn)
Deprecated.
|
static Throwable |
unwrapCompletionException(Throwable throwable) |
public static <T> CompletableFuture<T> failedFuture(Throwable t)
@Deprecated public static <R> CompletableFuture<R> safeCall(Supplier<CompletableFuture<R>> fn)
@Deprecated public static <T,R> CompletableFuture<R> safeCall(T t, Function<T,CompletableFuture<R>> fn)
@Deprecated public static <T,U,R> CompletableFuture<R> safeCall(T t, U u, BiFunction<T,U,CompletableFuture<R>> fn)
@Deprecated public static io.grpc.netty.shaded.io.netty.util.Timeout runAfter(io.grpc.netty.shaded.io.netty.util.TimerTask task, long delay, TimeUnit unit)
Copyright © 2024. All rights reserved.