ist-dsi / backoff

Constant, linear, exponential and fibonacci backoff functions for Scala

Version Matrix

Scala Backoff

Maven Central Build Status Codacy Badge license

Constant, linear, exponential and fibonacci backoff functions for Scala 2.11

Usage

TODO

Please refer to documentation for more details.

Install

To use backoff in an SBT project, add the following dependency to your build.sbt:

libraryDependencies += "pt.tecnico.dsi" %% "backoff" % "1.0.3"

Or in maven, you can add backoff to your pom.xml:

<dependency>
    <groupId>pt.tecnico.dsi</groupId>
    <artifactId>backoff_2.11</artifactId>
    <version>1.0.3</version>
</dependency>

Build instructions

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:

sbt test

License

Backoff is open source and available under the MIT license.