Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Platform-Independent Microagents and Methods : COM.TIBCO.hawk.microagent.RuleBaseEngine : RuleBaseEngine:suspendAllAlerts

RuleBaseEngine:suspendAllAlerts
Method
Purpose
Suspends all current and future alerts in the rulebase engine for the specified number of milliseconds.
Remarks
If a specific rulebase is provided as an argument, this method applies only the alerts generated by that rulebase.
This method is generally used as an Action to a Rule using RBE:onAlertRate as a data source to create an alert-rate circuit breaker.
RuleBaseEngine:suspendAllAlerts takes a rulebase argument. If empty, it suspends all alerts on all rulebases. After suspending all alerts, a high level alert (one per rulebase) is issued to indicate that the rulebase has been suspended. That alert will be cleared when the suspension period expires.
When a rulebase is suspended, all its current and future alerts are suspended for the specified interval. Note that all other monitoring activity continues. For example, actions that send email or invoke scripts or other methods continue to operate normally.
Type
Open, Synchronous, IMPACT_ACTION
Arguments
 
Returns
None

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved