Drools Fusion User Guide

5.0.1


Table of Contents

1. Introduction
Complex Event Processing
Drools Fusion
2. Drools Fusion Features
Events
Event Semantics
Event Declaration
Event Metadata
Session Clock
Available Clock Implementations
Streams Support
Declaring and Using Entry Points
Temporal Reasoning
Temporal Operators
Event Processing Modes
Cloud Mode
Stream Mode
Sliding Windows
Sliding Time Windows
Sliding Length Windows
Knowledgebase Partitioning
When partitioning is useful
How to configure partitioning
Multithreading management
Memory Management for Events
Explicit expiration offset
Inferred expiration offset
3. References
Index

List of Examples

2.1. declaring a fact type as an event
2.2. declaring a fact type and assiging it the event role
2.3. the VoiceCall fact class
2.4. declaring VoiceCall as an event type
2.5. declaring the VoiceCall timestamp attribute
2.6. declaring the VoiceCall duration attribute
2.7. declaring the expiration offset for the VoiceCall events
2.8. Example of Stream Usage
2.9. Using a different Stream
2.10. Inserting facts into an entry point
2.11. a rule that activates immediately upon matching
2.12. a rule that automatically delays activation due to temporal constraints
2.13. same rule with explicit duration parameter
2.14. aggregating values over time windows
2.15. aggregating values over length windows
2.16. enabling multithread evaluation (partitioning)
2.17. setting the maximum number of threads for rule evaluation to 5
2.18. explicitly defining an expiration offset of 30 minutes for StockTick events
2.19. example rule with temporal constraints