public class AndRetryCondition extends Object implements RetryCondition
RetryCondition that evaluates to true when all contained retry conditions evaluate to true.| Constructor and Description |
|---|
AndRetryCondition (RetryCondition... conditions) |
public AndRetryCondition(RetryCondition... conditions)
public boolean shouldRetry(RetryPolicyContext context)
RetryCondition shouldRetry in interface RetryCondition context - Context about the state of the last request and information about the number of requests made.