failsafe
failsafe copied to clipboard
Fault tolerance and resilience patterns for the JVM
Please create a thread tracker policy. It tracks what threads are currently executing inside the policy. Please add the following methods to the policy. - `getThreads()` returns a snapshot of...
This issue sketches out some of the past and future roadmap for Failsafe, and will be updated over time. Feel free to comment with suggestions. 3.x - [ ] Phi...
Please implement `toString()` in all classes. This will help when debugging since the programmer can see what the state of the object is.
Bitbucket Server has [rate limiting](https://confluence.atlassian.com/bitbucketserver/improving-instance-stability-with-rate-limiting-976171954.html). The rate limit starts with a bucket of say 50 requests and the bucket refills at 4 requests per second. I setup a smooth rate...
Add a module supporting Feign. This is pretty straightforward to do for sync executions. For async executions, it seems like Feign's AsyncFeign class is still experimental, and doesn't play nicely...
Under certain conditions `Timeout` policy may never trigger: 1. Create a simple `FailsafeExecutor` with `new Timeout(Durations.ofSeconds(1)).withCancel(true)` 1. Schedule a task `while true();` 1. Try `future.get()` _Expected:_ `com.apple.its.uts.common.retry.TimeoutExceededException` after a second...
Add a maxWaiters setting that limits the number of threads that can be waiting on a rate limiter or bulkhead. When the maxWaiters is exceeded, an exception is returned.
Expose metrics relating to execution counts via the RetryPolicy instance.
Hi, I recently started using this library. Please my apologies if this is somewhere in the docs and I missed it. **My situation:** - I need to make requests to...