Class IdempotentRetryAssert
java.lang.Object
com.liferay.portal.search.test.util.IdempotentRetryAssert
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
retryAssert
(long timeout, TimeUnit timeoutTimeUnit, long pause, TimeUnit pauseTimeUnit, Callable<T> callable) static <T> T
retryAssert
(long timeout, TimeUnit timeoutTimeUnit, Runnable runnable) static <T> T
retryAssert
(long timeout, TimeUnit timeoutTimeUnit, Callable<T> callable)
-
Constructor Details
-
IdempotentRetryAssert
public IdempotentRetryAssert()
-
-
Method Details
-
retryAssert
public static <T> T retryAssert(long timeout, TimeUnit timeoutTimeUnit, Callable<T> callable) throws Exception - Throws:
Exception
-
retryAssert
public static <T> T retryAssert(long timeout, TimeUnit timeoutTimeUnit, long pause, TimeUnit pauseTimeUnit, Callable<T> callable) throws Exception - Throws:
Exception
-
retryAssert
public static <T> T retryAssert(long timeout, TimeUnit timeoutTimeUnit, Runnable runnable) throws Exception - Throws:
Exception
-