@FunctionalInterface public static interface AutoRetryStrategyProvider.AutoRetryStrategy extends AsyncCloseable, BiIntFunction<java.lang.Throwable,Completable>
AutoRetryStrategyProvider. These retries are not a
substitute for user level retries which are designed to infer retry decisions based on request/error information.
Typically such user level retries are done using protocol level filter but can also be done differently per
request (eg: by using Single.retry(BiIntPredicate)).| Modifier and Type | Method and Description |
|---|---|
default Completable |
closeAsync()
Used to close/shutdown a resource.
|
closeAsyncGracefullyapplydefault Completable closeAsync()
AsyncCloseablecloseAsync in interface AsyncCloseableCompletableSource that is notified once the close is complete.