@FunctionalInterface public interface RetryCondition
Interface that defines the condition for which a retry may be attempted.
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBeRetried(BmcException exception)
Check if the operation should be retried.
|
boolean shouldBeRetried(@Nonnull BmcException exception)
Check if the operation should be retried.
exception
- The exception from the previous unsuccessful operation.true
if the operation should be retried, else false
.Copyright © 2016–2024. All rights reserved.