failsafe v3.2.1 Release Notes
-
๐ Improvements
- ๐ Issue #326 - Added support for reserving a
RateLimiter
permit with a wait time.
API Changes
- ๐ง Deprecated
ExecutionContext.getLastFailure
,Execution.recordFailure
and similar methods throughout that API that refer to exceptions as failures. In their place, new methods have been added, such asgetLastException
,recordException
and so on. This clarifies the difference between an exception and a failure, since an exception may or may not be a failure, depending on the policy configuration. - ๐ Changed the policy builders to use
CheckedPredicate
andCheckedBiPredicate
instead ofPredicate
andBiPredicate
, allowing exceptions to be thrown which are ignored.
- ๐ Issue #326 - Added support for reserving a