Class Backoff

java.lang.Object
io.socket.backo.Backoff

public class Backoff extends Object
Imported from https://github.com/mokesmokes/backo
  • Constructor Details

    • Backoff

      public Backoff()
  • Method Details

    • duration

      public long duration()
    • reset

      public void reset()
    • setMin

      public Backoff setMin(long min)
    • setMax

      public Backoff setMax(long max)
    • setFactor

      public Backoff setFactor(int factor)
    • setJitter

      public Backoff setJitter(double jitter)
    • getAttempts

      public int getAttempts()