Class RetryUtil


  • public class RetryUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RetryUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> void retryAsynchronously​(java.util.function.Supplier<java.util.concurrent.CompletableFuture<T>> supplier, Backoff backoff, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, java.util.concurrent.CompletableFuture<T> callback)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RetryUtil

        public RetryUtil()
    • Method Detail

      • retryAsynchronously

        public static <T> void retryAsynchronously​(java.util.function.Supplier<java.util.concurrent.CompletableFuture<T>> supplier,
                                                   Backoff backoff,
                                                   java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
                                                   java.util.concurrent.CompletableFuture<T> callback)