public class RetryUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_RETRY_COUNT |
static long |
DEFAULT_RETRY_SLEEP |
Constructor and Description |
---|
RetryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
retryUntil(Callable<Boolean> callable,
boolean expectedValue,
long delayInMillis,
int retryCount,
String taskMessage) |
static void |
retryUntilFalse(Callable<Boolean> callable,
String task) |
static void |
retryUntilTrue(Callable<Boolean> callable,
String task) |
Copyright © 2011–2015. All rights reserved.