failsafe icon indicating copy to clipboard operation
failsafe copied to clipboard

Fault tolerance and resilience patterns for the JVM

Results 75 failsafe issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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...

community feedback wanted

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...

enhancement
rate limiter

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...

modules

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...

timeout

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.

rate limiter
bulkhead

Expose metrics relating to execution counts via the RetryPolicy instance.

retry policy

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...

rate limiter

Following #308, add metrics to the rate limiter interface.

rate limiter