Interface IStoredMailRederivationRunScope
- Namespace
- MailFathom.Application.Observability
- Assembly
- MailFathom.Application.dll
Holds one segment's report open for as long as the segment is running, and opens each pass beneath it.
public interface IStoredMailRederivationRunScope : IDisposable
- Inherited Members
Remarks
The report is open around the segment rather than written after it, so the database work its passes cause is reported beneath them. A segment that never reports having reached the end of the scope was stopped — by the execution timeout, by shutdown, or by a lease that moved on — and handed the rest of the walk to a segment of its own, which is an ordinary outcome rather than a failure.
Methods
- BeginPass()
Opens the report of one bounded pass, which is published when the returned scope is disposed.
- HandedOn(bool)
Records that the segment handed the rest of the walk on, and whether the queue took it.
- ReachedEndOfScope()
Records that the segment reached the end of its scope, which is what ends the run.