public final class RetryUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
retry(int retries,
int waitMsBetweenRetries,
java.lang.Runnable closure) |
static int |
retry(int retries,
java.lang.Runnable closure) |
static int |
retry(java.lang.Runnable closure) |
public static int retry(java.lang.Runnable closure)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic static int retry(int retries,
java.lang.Runnable closure)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic static int retry(int retries,
int waitMsBetweenRetries,
java.lang.Runnable closure)
throws java.lang.InterruptedException
java.lang.InterruptedException