@Override
    public int hashCode() {
      return Objects.hash(maxAttempts, initialWaitTimeMs);
    }
Constructor for {@link ExponentialPolicy}.
@param maxAttempts The maximum attempts.
@param initialWaitTimeMs The initial wait time in milliseconds, wait time will grow exponentially with it.
ambry-commons/src/main/java/com/github/ambry/commons/RetryPolicies.java