Class MailSynchronizationTelemetry.FolderRunScope
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
Carries one folder's turn through a cycle from the span that opens it to the outcome that ends it.
public sealed class MailSynchronizationTelemetry.FolderRunScope : IDisposable
- Inheritance
-
MailSynchronizationTelemetry.FolderRunScope
- Implements
- Inherited Members
Remarks
An alias the mail server advertises no single folder for is an outcome of its own rather than a failure, which is the same distinction the supervisor draws when it decides whether to back the account off: a configuration mistake is remedied by an edit, and counting it as a failure would put a working account into backoff.
Methods
- AliasAmbiguous(string)
Records an alias several advertised folders matched.
- AliasUnresolved(string)
Records an alias the mail server advertises no folder for.
- ConcurrencyConflict(string)
Records a folder deferred by a competing writer this run could not resolve against.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- Interrupted(string)
Records a folder the host stopped before it finished, which is shutdown rather than a failure.
- MailServerUnavailable(string)
Records a folder deferred because the mail server did not serve it within its resilience budget.
- Synchronized(string, int, int)
Records a folder that was synchronized, and what it brought in.
- UnexpectedFailure(string)
Records a folder that ended in a way nothing above it anticipated.