Liferay 7.0-ce-b4

com.liferay.portal.kernel.test
Class IdempotentRetryAssert

java.lang.Object
  extended by com.liferay.portal.kernel.test.IdempotentRetryAssert

public class IdempotentRetryAssert
extends Object


Constructor Summary
IdempotentRetryAssert()
           
 
Method Summary
static
<T> T
retryAssert(long timeout, TimeUnit timeoutTimeUnit, Callable<T> callable)
           
static
<T> T
retryAssert(long timeout, TimeUnit timeoutTimeUnit, long pause, TimeUnit pauseTimeUnit, Callable<T> callable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdempotentRetryAssert

public IdempotentRetryAssert()
Method Detail

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

Liferay 7.0-ce-b4