Class Util
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.Util
-
public class Util extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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, org.infinispan.client.hotrod.impl.operations.OperationsFactory factory)
static boolean
checkTransactionSupport(String cacheName, org.infinispan.client.hotrod.impl.operations.OperationsFactory factory, Log log)
protected static RuntimeException
rewrap(ExecutionException e)
static WrappedByteArray
wrapBytes(byte[] cacheName)
-
-
-
Method Detail
-
await
public static <T> T await(CompletionStage<T> cf)
-
await
public static <T> T await(CompletableFuture<T> cf)
-
await
public static <T> T await(CompletableFuture<T> cf, long timeoutMillis)
-
rewrap
protected static RuntimeException rewrap(ExecutionException e)
-
checkTransactionSupport
public static CompletionStage<Boolean> checkTransactionSupport(String cacheName, org.infinispan.client.hotrod.impl.operations.OperationsFactory factory)
-
checkTransactionSupport
public static boolean checkTransactionSupport(String cacheName, org.infinispan.client.hotrod.impl.operations.OperationsFactory factory, Log log)
-
wrapBytes
public static WrappedByteArray wrapBytes(byte[] cacheName)
-
-