Constant, linear, exponential and fibonacci backoff functions for Scala 2.11
Please refer to documentation for more details.
backoff in an SBT project, add the following dependency to your
libraryDependencies += "pt.tecnico.dsi" %% "backoff" % "1.0.3"
Or in maven, you can add
backoff to your
<dependency> <groupId>pt.tecnico.dsi</groupId> <artifactId>backoff_2.11</artifactId> <version>1.0.3</version> </dependency>
backoff uses SBT for building and requires Java 8.
$ git clone https://github.com/ist-dsi/backoff.git $ cd backoff $ sbt update $ sbt compile
Then you can run the tests simply by:
Backoff is open source and available under the MIT license.