Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

Specifying the Time Frame

Specifying the Time Frame

Every topic has a default expiration time frame specified when defining the topic. You can override that time frame by specifying a time frame within an individual rule.
You can set the expiration time frame of events at multiple places in RulePoint. The lowest expiration setting always takes precedence. The expiration time frame of events are shown in the following list:
  • System default expiration
  • Topic expiration
  • Event specific timestamp
  • Rule time frame
For example, if you set the system default expiration to one minute and set the topic specific expiration to seven days, those topics still expire after one minute. Conversely, if you set the topic specific expiration to 30 seconds, a value smaller than the system default expiration, then that expiration setting takes precedence.
You can use the within statement to specify a time frame to evaluate a rule. You can specify days, hours, minutes, and seconds. For example, the following rule activates when five stock events with symbol equal to XYZ occur within 10 minutes of receiving the first stock event with symbol equal to XYZ:
When 5 stock with symbol="XYZ" slide within 10 minutes then response
The value you set must be shorter than both the default value and the topic expiration time frames.
RulePoint evaluates all of the topics and conditions in the rule using the expiration time frame. You cannot specify different time frames for different topics within the same rule. Specifying a time frame in one rule does not affect the time frame for the topic in any other rule.

0 COMMENTS

We’d like to hear from you!