public class RetryAction extends Object implements ExceptionAction
| Modifier and Type | Field and Description |
|---|---|
static Integer |
RETRY_INFINITE
indicator for an infinite retry
|
| Constructor and Description |
|---|
RetryAction()
Default Constructor
|
RetryAction(long delay,
int maxRetries)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
long |
getDelay()
Accessor for delay
|
int |
getMaxRetries()
Accessor for maxRetries
|
int |
hashCode()
HashCode default implementation
|
void |
setDelay(long delay)
Mutator for delay
|
String |
toString() |
public static final Integer RETRY_INFINITE
public RetryAction()
public RetryAction(long delay,
int maxRetries)
delay - - The delay in milliseconds before retryingmaxRetries - - The maximum number of retries to attemptCopyright © 2007-2019 Ikasan. All Rights Reserved.