FlightAnalysis icon indicating copy to clipboard operation
FlightAnalysis copied to clipboard

Implement a virtual clock on the FlightContextFactory

Open corstian opened this issue 3 years ago • 0 comments

In order to properly dispose expired context instances to spare memory in long running processes, and properly fire triggers, bot in real-time situations as well as batch processing, we'd need a time stamp which identifies "current" time.

A major side effect is that we're unable to fire a completed event when an (arrival) theory has expired. This might happen in cases where an aircraft lands, and no further transponder messages are being received. The flight context will be discarded, and the theory will be discarded resulting in an incomplete flight record.

corstian avatar Oct 15 '20 19:10 corstian