public interface RetryCondition
RetryPolicy used to define when a request should be retried.| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried.
|
boolean shouldRetry(RetryPolicyContext context)
context - Context about the state of the last request and information about the number of requests made.