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)
protected static RuntimeException
rewrap(ExecutionException e)
static org.infinispan.commons.marshall.WrappedByteArray
wrapBytes(byte[] cacheName)
-
-
-
Method Detail
-
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)
-
wrapBytes
public static org.infinispan.commons.marshall.WrappedByteArray wrapBytes(byte[] cacheName)
-
-