Uses of Class
com.kingsrook.qqq.backend.core.alerts.AlertDefaultMonitor
Packages that use AlertDefaultMonitor
-
Uses of AlertDefaultMonitor in com.kingsrook.qqq.backend.core.alerts
Methods in com.kingsrook.qqq.backend.core.alerts that return AlertDefaultMonitorModifier and TypeMethodDescriptionstatic AlertDefaultMonitorAlertDefaultMonitor.heartbeat(String name, String heartbeatKey, int expectedEverySeconds, int graceSeconds) A heartbeat monitor: raise when the key has not beat within the expected interval plus grace.AlertDefaultMonitor.withDefinition(Map<String, Serializable> definition) Fluent setter for definitionAlertDefaultMonitor.withDefinitionValue(String key, Serializable value) Set one definition value.AlertDefaultMonitor.withForMinutes(Integer forMinutes) Fluent setter for forMinutes (how long a condition must hold before it fires)AlertDefaultMonitor.withKind(AlertMonitorKind kind) Fluent setter for kindFluent setter for nameAlertDefaultMonitor.withPerRecord(Boolean perRecord) Fluent setter for perRecord (one alert per matching record, instead of one aggregate alert)AlertDefaultMonitor.withScheduleSeconds(Integer scheduleSeconds) Fluent setter for scheduleSeconds (how often to evaluate)AlertDefaultMonitor.withSeverity(AlertSeverity severity) Fluent setter for severity (default: the type's severity)Methods in com.kingsrook.qqq.backend.core.alerts that return types with arguments of type AlertDefaultMonitorModifier and TypeMethodDescriptionQAlertTypeMetaData.getDefaultMonitors()Getter for defaultMonitorsMethods in com.kingsrook.qqq.backend.core.alerts with parameters of type AlertDefaultMonitorModifier and TypeMethodDescriptionQAlertTypeMetaData.withDefaultMonitor(AlertDefaultMonitor defaultMonitor) Add a seeded monitor for this type.