The Jolly project is a simple fault-tolerance library inspired by the Polly Project.
Our documentations
Jolly is open sourced on GitHub and is licensed under the MIT License.
- Synchronous
- Asynchronous
- Synchronous
- Asynchronous
- Synchronous
- Asynchronous
- Synchronous
- Asynchronous
- Synchronous
- Asynchronous
PolicyWrap: Though not promised, this pattern was a part of our backlog and Resilience4j, but we could not get to it because of other sprint goals and time constraints.
- Java 8 SDK
- Gradle
- Text editor or IDE (we recommend IntelliJ)
- Other dependencies (namely, Resilience4j) will be installed by Gradle
To your build.gradle
file, make the following additions:
- Add
maven { url "https://jolly.bintray.com/jolly" }
to therepositories
section. - Add
compile { "io.github.jolly:jolly" }
to thedependencies
section.
Note that downloading the source is only needed for development on the library itself. Go back to "Installation" to use the library in your application.
- Download zip file from GitHub repo
- Unzip it
- Open the code directory in terminal (use cd linux command)
- Run
gradle build
To demo the library, run the file src/main/java/io/github/jolly/demo/JollySample.java
.
- Ensure your Java and Gradle versions are compatible
- Ensure proper installation of dependencies