Uses of Class
com.nmontytskyi.monitoring.server.entity.AlertRuleEntity
Packages that use AlertRuleEntity
Package
Description
-
Uses of AlertRuleEntity in com.nmontytskyi.monitoring.server.alert
Methods in com.nmontytskyi.monitoring.server.alert with parameters of type AlertRuleEntityModifier and TypeMethodDescriptionbooleanAlertCooldownManager.isCooldownExpired(AlertRuleEntity rule) Returns true if the cooldown has expired (i.e., no recent event exists for the rule), meaning a new alert may be fired.voidAlertNotificationService.sendAlert(AlertEventEntity event, AlertRuleEntity rule, RegisteredServiceEntity service) -
Uses of AlertRuleEntity in com.nmontytskyi.monitoring.server.repository
Subinterfaces with type arguments of type AlertRuleEntity in com.nmontytskyi.monitoring.server.repositoryMethods in com.nmontytskyi.monitoring.server.repository that return types with arguments of type AlertRuleEntityModifier and TypeMethodDescriptionAlertRuleRepository.findAllByServiceId(Long serviceId) Returns all alert rules for a specific service.AlertRuleRepository.findAllByServiceIdAndEnabledTrue(Long serviceId) Returns only the enabled alert rules for a service.