Apama 10.3 | Apama Documentation | Developing Apama Applications | Developing Apama Applications in EPL | Defining Event Listeners | Understanding time in the correlator | Disabling the correlator's internal clock
Disabling the correlator's internal clock
Externally generating events that keep time (&TIME events)
About repeating timers and &TIME events
Setting the time in the correlator (&SETTIME event)
By default, the correlator keeps time by generating clock ticks every tenth of a second. If you specify the –Xclock option when you start a correlator, the correlator disables its internal clock. This means the correlator does not generate clock ticks and does not assign timestamps based on clock ticks to incoming events.
Instead, it is up to you to send &TIME events into the correlator to externally keep time. This gives you the ability to artificially control how the correlator keeps time.
Time flows in all contexts, including private contexts. Also, different contexts can have different internal times. This happens when one context is still processing events that arrived at an earlier time while another is processing more recent events. The "currentTime" is always the time of the events being processed. (As opposed to wall-clock time, which can be obtained from the Time Manager EPL plug-in.)

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.