Package com.couchbase.client.java.util.retry
-
Interface Summary Interface Description RetryBuilder.OnRetryAction An interface alias forAction4<Integer, Throwable, Long, TimeUnit>
, suitable forRetryBuilder.doOnRetry(Action4)
. -
Class Summary Class Description Retry Utility methods to deal with retryingObservable
s.RetryBuilder Builder forRetryWhenFunction
.RetryBuilder.InversePredicate RetryBuilder.ShouldStopOnError RetryWhenFunction Combine amapping of errors to their attempt number
with a flatmap thatinduces a retry delay
into a function that can be passed to an Observable'sretryWhen operation
.RetryWithDelayHandler A class that allows to produce a "retry" delay depending on the number of retry attempts.