Method CountRetainedPayloadsAsync
- Namespace
- MailFathom.Application.EmailContent.Release
- Assembly
- MailFathom.Application.dll
CountRetainedPayloadsAsync(CancellationToken)
Counts the database copies retained beside payloads the move has already carried.
Task<StoredContentBacklog> CountRetainedPayloadsAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<StoredContentBacklog>
How many payloads still carry one and how many bytes they hold between them.
Remarks
The whole deployment's figure across every payload kind, because what an operator asks is how much of their database is duplication rather than which table it is in. It is read on request rather than published as a series: it costs an aggregate over the five content tables, and nothing needs it on a scrape interval.