private StatAlertDefinition getAlertDefinition(int alertDefinitionId) {
    synchronized (ALERT_DEFINITIONS) {
      return (StatAlertDefinition) ALERT_DEFINITIONS.get(alertDefinitionId);
    }
  }
Convenience method to retrieve admin stat alert definition.

@param alertDefinitionId id of a stat alert definition
@return StatAlertDefinition reference to an instance of StatAlertDefinition
@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AdminDistributedSystemJmxImpl.java