public class Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
await(CompletableFuture<T> cf) |
static <T> T |
await(CompletableFuture<T> cf,
long timeoutMillis) |
static <T> T |
await(CompletionStage<T> cf) |
static CompletionStage<Boolean> |
checkTransactionSupport(String cacheName,
OperationsFactory factory) |
static boolean |
checkTransactionSupport(String cacheName,
OperationsFactory factory,
Log log) |
protected static RuntimeException |
rewrap(ExecutionException e) |
public static <T> T await(CompletionStage<T> cf)
public static <T> T await(CompletableFuture<T> cf)
public static <T> T await(CompletableFuture<T> cf, long timeoutMillis)
protected static RuntimeException rewrap(ExecutionException e)
public static CompletionStage<Boolean> checkTransactionSupport(String cacheName, OperationsFactory factory)
public static boolean checkTransactionSupport(String cacheName, OperationsFactory factory, Log log)
Copyright © 2022 JBoss by Red Hat. All rights reserved.