Class Util

java.lang.Object
org.infinispan.client.hotrod.impl.Util

public class Util extends Object
  • Method Details

    • 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)