Class ExponentialBackOff

java.lang.Object
dev.vality.adapter.flow.lib.utils.backoff.ExponentialBackOff
All Implemented Interfaces:
BackOff

public class ExponentialBackOff
extends Object
implements BackOff
  • Field Details

    • DEFAULT_MUTIPLIER

      public static final Integer DEFAULT_MUTIPLIER
    • DEFAULT_INITIAL_INTERVAL_SEC

      public static final Integer DEFAULT_INITIAL_INTERVAL_SEC
    • DEFAULT_MAX_INTERVAL_SEC

      public static final Integer DEFAULT_MAX_INTERVAL_SEC
  • Constructor Details

    • ExponentialBackOff

      public ExponentialBackOff​(Long startTime, Long currentTime, Integer multiplier, Integer initialInterval, Integer maxInterval)
  • Method Details