public boolean isRepeatToleranceEnabled() {
    return !Objects.equals(repeatToleranceEnabled, (short) 0);
  }
Gets whether this definition overrides the default global tolerance value
specified in {@code cluster-env/alerts.repeat.tolerance}. If enabled, the
value from {@link #getRepeatTolerance()} should be used to calculate retry
tolerance.

@return the repeatToleranceEnabled {@code true} to override the global
        value.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java