public class OperationRetrier extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
OperationRetrier.RetriableOperation |
| Constructor and Description |
|---|
OperationRetrier() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAttempts() |
Long |
getSleepTime() |
void |
retry(OperationRetrier.RetriableOperation operation) |
void |
setAttempts(Integer attempts) |
void |
setSleepTime(Long sleepTime) |
void |
setTimeout(Long timeout) |
public Long getSleepTime()
public void setSleepTime(Long sleepTime)
public Integer getAttempts()
public void setAttempts(Integer attempts)
public void setTimeout(Long timeout)
public void retry(OperationRetrier.RetriableOperation operation) throws InterruptedException, TimeoutException
InterruptedExceptionTimeoutExceptionCopyright © 2019 MuleSoft Inc. All rights reserved.