Failsafe

Additional

Language
Java
Version
N/A
Created
Jun 30, 2015
Updated
Feb 3, 2024
Owner
Jonathan Halterman (jhalterman)
Contributors
Ning Sun (sunng87)
Doug Roper (htmldoug)
The Gitter Badger (gitter-badger)
Andres Almiray (aalmiray)
Pascal Schumacher (PascalSchumacher)
George Gastaldi (gastaldi)
Andreas Gebhardt (agebhar1)
Marcel Blonk (leblonk)
Jamie Baggott (jamiebaggott)
Jonathan Halterman (jhalterman)
Anders Wallgren (awallgren)
Chun-Han, Hsiao (chhsiao90)
Christian Jensen (jensenbox)
Jakub Kadlubiec (jakubka)
Oliver (Jeetah)
Olle Lundberg (lndbrg)
Cesar Acuna (aqubit)
sullis
Show all (34)34
Activity
Badge
Generate
Download
Source code

Failsafe

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.

Usage

Visit failsafe.dev for usage info, docs, and additional resources.

Contributing

Check out the contributing guidelines.

License

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