Package | Description |
---|---|
com.norconex.commons.lang.exec |
Utility classes related to process/code execution.
|
Modifier and Type | Method and Description |
---|---|
Retrier |
Retrier.setExceptionFilter(IExceptionFilter exceptionFilter)
Sets an exception filter that limits the exceptions eligible for retry.
|
Retrier |
Retrier.setMaxCauses(int maxCauses)
Sets the maximum number of exception causes to keep when all attempts
were made and a
RetriableException is thrown. |
Retrier |
Retrier.setMaxRetries(int maxRetries)
Sets the maximum number of retries (the initial run does not count as
a retry).
|
Retrier |
Retrier.setRetryDelay(long retryDelay)
Sets the delay in milliseconds before attempting to execute again.
|
Copyright © 2008–2021 Norconex Inc.. All rights reserved.