@FunctionalInterface public interface RetryCondition
Interface that defines the condition for which a retry may be attempted.
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldBeRetried(@NonNull BmcException exception)
Check if the operation should be retried.
|
boolean shouldBeRetried(@NonNull
@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–2021. All rights reserved.