public interface JestRetryHandler<T>
Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryRequest(Exception exception,
int executionCount,
T request)
Determines if a method should be retried after an exception
occurs during execution.
|
boolean retryRequest(Exception exception, int executionCount, T request)
exception - the exception that occurredexecutionCount - the number of times this method has been
unsuccessfully executedrequest - the original failed requesttrue if the request should be retried, false
otherwiseCopyright © 2018. All rights reserved.