The correlator defines an arrival timestamp for every event it receives. The arrival time value is set from the main context's clock when an event is received by the correlator, just before it is placed on the input queue of each public context.
You can access the arrival timestamp by calling the event's inbuilt
getTime() method (see the description of
event in the
API Reference for EPL (ApamaDoc) ). After the correlator creates an event or after you coassign an event, the
getTime() method returns the time in the context when the event was created or coassigned. An event's arrival timestamp has the same scope as the event itself.