nsmcp::AccessRecordStoreSQLite method observeBatch (public)
<instance of nsmcp::AccessRecordStoreSQLite> observeBatch \ [ batchSource ]
Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl
Update observation metadata from an inserted or migrated batch. Merge first and latest request times, completion time and parsing-loss counts into persistent state. The caller supplies the surrounding transaction.
- Parameters:
- batchSource (optional, defaults to
"temp.nsmcp_ingest_batch")- Trusted SQL relation containing the batch; defaults to the migration staging table.
- Returns:
- An empty result after the observation state has been saved.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)