public class RetryOnExceptionsCondition extends Object implements RetryCondition
| Constructor and Description | 
|---|
RetryOnExceptionsCondition(List<Class<? extends Exception>> exceptionsToRetryOn)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried. 
 | 
public boolean shouldRetry(RetryPolicyContext context)
RetryConditionshouldRetry in interface RetryConditioncontext - Context about the state of the last request and information about the number of requests made.Copyright © 2020. All rights reserved.