Interface AutoRetryStrategyProvider.AutoRetryStrategy

  • All Superinterfaces:
    AsyncCloseable, BiIntFunction<java.lang.Throwable,​Completable>
    Enclosing interface:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface AutoRetryStrategyProvider.AutoRetryStrategy
    extends AsyncCloseable, BiIntFunction<java.lang.Throwable,​Completable>
    A strategy to use for automatic retries. Automatic retries are done by the clients automatically when allowed by the passed 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)).