Class AttachmentDerivationPeriod
- Namespace
- MailFathom.Application.Emails.AttachmentText.Limits
- Assembly
- MailFathom.Application.dll
What one budget period has spent on one step of reading attachments, and what it still admits.
public sealed record AttachmentDerivationPeriod : IEquatable<AttachmentDerivationPeriod>
- Inheritance
-
AttachmentDerivationPeriod
- Implements
- Inherited Members
Remarks
The shape EmbeddingSpendPeriod already has, kept apart from it rather than shared because the unit differs by
step: a member named for characters would be lying about octets and about calls. The step travels with the figures
for exactly that reason — a count with no unit is a number an operator cannot act on.
Counts and instants only. No message, attachment, file name, or word is describable from it, which is what makes it safe to serve from the administrative endpoint and to write into a log line.
Constructors
- AttachmentDerivationPeriod(AttachmentDerivationStep, DateTimeOffset, DateTimeOffset, long, long?)
What one budget period has spent on one step of reading attachments, and what it still admits.
Properties
- AdmitsWork
Gets whether the step may take another unit of work under this period.
- CeilingUnitCount
What the period admits, or null where the deployment declared no ceiling.
- ConsumedUnitCount
What the step has already consumed inside this period, in that step's own unit.
- EndsAt
When it rolls over, which is the instant paused work resumes at.
- IsExhausted
Gets whether this period has reached its ceiling and admits no further work.
- RemainingUnitCount
Gets what this period still admits, or null where nothing is being counted against.
- StartsAt
When the period began, which is the key its total is counted under.
- Step
Which step the figures below belong to, which is what says the unit they are counted in.