final ExponentialDelayBackoff backoff = new ExponentialDelayBackoff(initialDelayMillis, multiplier);
return new AsyncRetryExecutor(scheduler, retryPolicy, backoff, fixedDelay);
}
public AsyncRetryExecutor withFixedBackoff(long delayMillis) {
final FixedIntervalBackoff backoff = new FixedIntervalBackoff(delayMillis);
return new AsyncRetryExecutor(scheduler, retryPolicy, backoff, fixedDelay);
}