Watch    96
 Star    4.0k
 Fork    294


Build Status Maven Central License Slack JavaDoc

Failsafe is a lightweight, zero-dependency library for handling failures in Java 8+, with a concise API for handling everyday use cases and the flexibility to handle everything else. It works by wrapping executable logic with one or more resilience policies, which can be combined and composed as needed.

Policies include Retry, CircuitBreaker, RateLimiter, Timeout, Bulkhead, and Fallback. Additional modules include OkHttp and Retrofit.


Visit for usage info, docs, and additional resources.


Check out the contributing guidelines.


Copyright Jonathan Halterman and friends. Released under the Apache 2.0 license.

Fault tolerance and resilience patterns for the JVM
最后更新于  1 days ago