public class NoopRetryHandler<T> extends Object implements JestRetryHandler<T>
| Constructor and Description |
|---|
NoopRetryHandler() |
| 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.
|
public boolean retryRequest(Exception exception, int executionCount, T request)
JestRetryHandlerretryRequest in interface JestRetryHandler<T>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.