Interface IObjectBackedContentInventory
- Namespace
- MailFathom.Application.EmailContent.Storage
- Assembly
- MailFathom.Application.dll
Reports whether this deployment holds any payload in the object backend.
public interface IObjectBackedContentInventory
Remarks
One question, asked for one decision, which is why the port carries nothing else. A deployment that names no object-storage endpoint can still hold rows pointing into one — it was configured for it once, and the configuration was taken away or lost — and every one of those messages is unreadable until the endpoint comes back. Nothing else notices: the row is intact, the metadata answers, and the failure arrives only when somebody asks for the content of that particular message.
It is deliberately a presence rather than a count. What an operator has to act on is that such rows exist at all, and counting them would mean five aggregates over five tables on every readiness scrape to refine an answer that changes nothing about what to do.
Methods
- HoldsObjectBackedContentAsync(CancellationToken)
Gets whether any stored payload names the object backend as the store holding it.