◆ TailObserver()
◆ NewEventBatchFound()
| void ui::qt::FileTailer::TailObserver::NewEventBatchFound |
( |
std::vector< std::pair< int, db::LogEvent::EventItems > > && |
eventBatch | ) |
|
|
inlineoverridevirtual |
Called when a batch of new events is discovered during parsing.
For performance reasons, parsers may collect multiple events before notifying observers. This method delivers a batch of events at once.
- Parameters
-
| eventBatch | Vector of (id, items) pairs representing the events |
- Note
- This method is preferred over NewEventFound for high-throughput scenarios
Implements parser::IDataParserObserver.
◆ NewEventFound()
| void ui::qt::FileTailer::TailObserver::NewEventFound |
( |
db::LogEvent && |
event | ) |
|
|
inlineoverridevirtual |
Called when a new event is discovered during parsing.
- Parameters
-
| event | The newly parsed LogEvent (moved to avoid copying) |
- Note
- Implementations should be efficient as this may be called very frequently during parsing of large files
Implements parser::IDataParserObserver.
◆ ProgressUpdated()
| void ui::qt::FileTailer::TailObserver::ProgressUpdated |
( |
| ) |
|
|
inlineoverridevirtual |
Called when parsing progress is updated.
This method is invoked periodically during parsing operations to allow observers to update progress indicators in the user interface.
- Note
- Implementations should be efficient as this may be called frequently
Implements parser::IDataParserObserver.
◆ added
| std::size_t ui::qt::FileTailer::TailObserver::added {0} |
◆ container
The documentation for this struct was generated from the following file: