Listener (post-traitements)
Objective
The Listener executes post-processing when new data is integrated into a time-series file. It compares ts_max_date.date to ts_max_date.last_date_listener to detect updates.
Processing flow
- Listener::load() — Declares the processing to execute per ts_file
- Listener::init() — Synchronizes the
listener_maintable - Listener::check() — Detects updated files
- Dispatch — Calls the associated business methods
Dispatcher examples:
mysql_schemata → Listener::updateDatabase
mysql_global_variable → Listener::afterUpdateVariable
performance_schema → Digest::integrate
ssh_hardware → Alias::updateAlias