Package | Description |
---|---|
com.norconex.commons.lang.exec |
Utility classes related to process/code execution.
|
Modifier and Type | Method and Description |
---|---|
IExceptionFilter |
Retrier.getExceptionFilter()
Sets an exception filter that limits the exceptions eligible for retry.
|
Modifier and Type | Method and Description |
---|---|
Retrier |
Retrier.setExceptionFilter(IExceptionFilter exceptionFilter)
Sets an exception filter that limits the exceptions eligible for retry.
|
Constructor and Description |
---|
Retrier(IExceptionFilter exceptionFilter)
Creates a new instance which will retry execution
only if the exception thrown by an attempt is accepted by
the
IExceptionFilter (up to maxRetries ). |
Retrier(IExceptionFilter exceptionFilter,
int maxRetries)
Creates a new instance which will retry execution
only if the exception thrown by an attempt is accepted by
the
IExceptionFilter (up to maxRetries ). |
Copyright © 2008–2021 Norconex Inc.. All rights reserved.