Package com.oracle.bmc.retrier
Interface RetryCondition
- 
- All Known Implementing Classes:
 DefaultRetryCondition,RetryOnOpenCircuitBreakerDefaultRetryCondition
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public interface RetryCondition
Interface that defines the condition for which a retry may be attempted. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldBeRetried(BmcException exception)Check if the operation should be retried. 
 - 
 
- 
- 
Method Detail
- 
shouldBeRetried
boolean shouldBeRetried(@Nonnull BmcException exception)Check if the operation should be retried.- Parameters:
 exception- The exception from the previous unsuccessful operation.- Returns:
 - true if the operation should be retried, else false.
 
 
 - 
 
 -