- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::nsmcp::BufferedResultReader
::nsmcp::BufferedResultReadercreate ... \
[ -buffer (default "") ] \
[ -channel:required channel:required ] \
[ -index (default "0") ] \
[ -limit:required limit:required ] \
[ -maxBytes:integer (default "2097152") ] \
[ -offset:required offset:required ] \
[ -readBytes (default "0") ] \
[ -readCalls (default "0") ] \
[ -readMicroseconds (default "0") ]
Defined in /usr/local/ns/tcl/nsmcp/log-01-scanner.tcl
Class Relations
Methods (to be applied on instances)
next (scripted, public)
<instance of nsmcp::BufferedResultReader> next
Read one complete JSONL record inside the published snapshot. Keep unused channel bytes for the next record. Reject oversized or incomplete records without reading beyond the fixed published limit.
- Returns:
- A dictionary with start, end and raw, or empty at exhaustion.
- Testcases:
- No testcase defined.
statistics (scripted, public)
<instance of nsmcp::BufferedResultReader> statistics
Report channel work for this result page. Buffered bytes can include the next record in this published snapshot; they are not a count of physical disk bytes or returned JSON bytes.
- Returns:
- Read time in microseconds and channel byte/call counts.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)