Occurrent 0.16.10 is released with the following changes:
- Several changes to
RetryStrategy
again:onError
is will be called for each throwable again. The newErrorInfo
instance, that is supplied to the error listener, can be used to determine whether the error is “final” or if it’s retryable.- In the previous version,
onBeforeRetry
andonAfterRetry
, accepted aBiConsumer<RetryInfo, Throwable>
. The arguments have now been reversed, so the types of the BiConsumer is nowBiConsumer<Throwable, RetryInfo>
.