Class RetryUtils
java.lang.Object
org.alfresco.hxi_connector.common.test.util.RetryUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TretryWithBackoff(Supplier<T> supplier) static <T> TretryWithBackoff(Supplier<T> supplier, int maxAttempts, int delayMs) static voidstatic voidretryWithBackoff(RetryUtils.ErrorCatchingRunnable runnable, int delayMs) static voidretryWithBackoff(RetryUtils.ErrorCatchingRunnable runnable, int maxAttempts, int delayMs)
-
Constructor Details
-
RetryUtils
public RetryUtils()
-
-
Method Details
-
retryWithBackoff
-
retryWithBackoff
-
retryWithBackoff
public static void retryWithBackoff(RetryUtils.ErrorCatchingRunnable runnable, int maxAttempts, int delayMs) -
retryWithBackoff
-
retryWithBackoff
-