question: public void updateAlertDefinition ( StatAlertDefinition alertDefinition ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Entered AdminDistributedSystemJmxImpl.updateAlertDefinition(StatAlertDefinition) *****" ) ; } synchronized ( ALERT_DEFINITIONS ) { ALERT_DEFINITIONS . put ( Integer . valueOf ( alertDefinition . getId ( ) ) , alertDefinition ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "AdminDistributedSystemJmxImpl.updateAlertDefinition : alertDefinition :: id={} :: {}" , alertDefinition . getId ( ) , alertDefinition . getStringRepresentation ( ) ) ; } notifyMembersForAlertDefinitionChange ( alertDefinition ) ; } if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Exiting AdminDistributedSystemJmxImpl.updateAlertDefinition(StatAlertDefinition) *****" ) ; } }
target:  This method can be used to update alert definition for the Stat mentioned. This method should update the collection maintained at the aggregator and should notify members for the newly added alert definitions. A new alert definition will be created if matching one not found.