/failsafe

Fault tolerance and resilience patterns for the JVM

Primary LanguageJavaApache License 2.0Apache-2.0

Failsafe

Build Status Maven Central License JavaDoc Join the chat at https://gitter.im/jhalterman/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. Current policies include Retry, Timeout, Fallback, and CircuitBreaker.

Usage

Visit failsafe.dev for docs, usage info, and more.

Contributing

Check out the contributing guidelines.

License

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