Package com.oracle.bmc.retrier
Class RetryOnOpenCircuitBreakerDefaultRetryCondition
- java.lang.Object
- 
- com.oracle.bmc.retrier.DefaultRetryCondition
- 
- com.oracle.bmc.retrier.RetryOnOpenCircuitBreakerDefaultRetryCondition
 
 
- 
- All Implemented Interfaces:
- RetryCondition
 
 public class RetryOnOpenCircuitBreakerDefaultRetryCondition extends DefaultRetryCondition Class that may retry for the conditions documented in https://docs.oracle.com/iaas/Content/API/References/apierrors.htm and when the CircuitBreaker is OPEN.
- 
- 
Constructor SummaryConstructors Constructor Description RetryOnOpenCircuitBreakerDefaultRetryCondition()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldBeRetried(BmcException exception)Check if the operation should be retried.- 
Methods inherited from class com.oracle.bmc.retrier.DefaultRetryConditionisProcessingException
 
- 
 
- 
- 
- 
Method Detail- 
shouldBeRetriedpublic boolean shouldBeRetried(@Nonnull BmcException exception)Description copied from interface:RetryConditionCheck if the operation should be retried.- Specified by:
- shouldBeRetriedin interface- RetryCondition
- Overrides:
- shouldBeRetriedin class- DefaultRetryCondition
- Parameters:
- exception- The exception from the previous unsuccessful operation.
- Returns:
- true if the operation should be retried, else false.
 
 
- 
 
-