public static RetryPolicy exponentialPolicy(int maxAttempts, int initialWaitTimeMs) {
    return new ExponentialPolicy(maxAttempts, initialWaitTimeMs);
  }
@param maxAttempts The maximum attempts.
@param initialWaitTimeMs The initial wait time in milliseconds, wait time will grow exponentially with number of
                         attempts.
@return an exponential retry policy with the provided parameters.
ambry-commons/src/main/java/com/github/ambry/commons/RetryPolicies.java