@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }

      FixedBackoffPolicy other = (FixedBackoffPolicy) o;
      return maxAttempts == other.maxAttempts && waitTimeMs == other.waitTimeMs;
    }
Constructor for {@link FixedBackoffPolicy}.
@param maxAttempts The maximum attempts.
@param waitTimeMs The wait time in milliseconds, wait time will not change with time.
ambry-commons/src/main/java/com/github/ambry/commons/RetryPolicies.java