THPDFCustomStreamFilterStatistics
Aggregates registry and execution telemetry for one THotPDF instance
Declaration
THPDFCustomStreamFilterStatistics = record
RegisteredFilterCount: Integer;
PushAttemptCount: Int64;
PullAttemptCount: Int64;
SuccessCount: Int64;
FailureCount: Int64;
CancellationCount: Int64;
SeekContractViolationCount: Int64;
InputBytes: Int64;
OutputBytes: Int64;
LastFilterName: AnsiString;
LastDiagnostic: AnsiString;
end;
Parameters
The attempt counters separate push and pull modes, byte counters aggregate observed input and produced isolated output, and the final fields preserve the latest result context
Return value
GetCustomStreamFilterStatistics returns False only when the registry is empty and no attempt has been recorded since reset
Usage notes
- Cancellation and seek failures also contribute to
FailureCount RegisteredFilterCountis sampled when statistics are requestedResetCustomStreamFilterStatisticsclears counters and latest diagnostics without changing registrations