Apama 10.3 | Apama Documentation | Developing Apama Applications | Developing Apama Applications in Java | Defining Event Expressions | About event templates | Specifying completed event templates
Specifying completed event templates
In some situations, you want to ensure that the correlator completes all work related to a particular event before your application performs some other work. In your event template, specify the completed keyword to accomplish this. For example:
on all completed A(f < 10.0) {}
When an event that matches the template comes into the correlator, the correlator
1. Runs all of the event's normal and unmatched listeners.
2. Processes all routed events that result from those listeners.
3. Calls the completed listeners.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.