Package com.nurkiewicz.asyncretry.backoff

Examples of com.nurkiewicz.asyncretry.backoff.ExponentialDelayBackoff


  public AsyncRetryExecutor withRetryPolicy(RetryPolicy retryPolicy) {
    return new AsyncRetryExecutor(scheduler, retryPolicy, backoff, fixedDelay);
  }

  public AsyncRetryExecutor withExponentialBackoff(long initialDelayMillis, double multiplier) {
    final ExponentialDelayBackoff backoff = new ExponentialDelayBackoff(initialDelayMillis, multiplier);
    return new AsyncRetryExecutor(scheduler, retryPolicy, backoff, fixedDelay);
  }
View Full Code Here

TOP

Related Classes of com.nurkiewicz.asyncretry.backoff.ExponentialDelayBackoff

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.