Interface IStoredContentMovePassScope
- Namespace
- MailFathom.Application.Observability
- Assembly
- MailFathom.Application.dll
Holds one pass's report open while it runs, and takes each payload's outcome as the pass reaches it.
public interface IStoredContentMovePassScope : IDisposable
- Inherited Members
Remarks
The report is open around the pass rather than written after it, so the database and endpoint work the pass causes is reported beneath it. A payload is reported the moment it is decided rather than at the end, because a pass stopped by a shutdown has still moved everything it repointed and an operator watching the counters must see it.
Methods
- Copied(long)
Records one payload the move copied, verified, and repointed at the object.
- Failed(StoredContentMoveFailure)
Records one payload the move left in the database, and why.
- ReachedEndOfContent()
Records that the pass reached the end of the last payload kind, which is what ends the move.