Method VerifyAvailableAsync
- Namespace
- MailFathom.Infrastructure.ObjectStorage
- Assembly
- MailFathom.Infrastructure.dll
VerifyAvailableAsync(CancellationToken)
Verifies that the configured bucket answers a listing, accepts a write, and accepts the removal of what was written.
Task VerifyAvailableAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the probe.
Returns
- Task
A task that completes when all three succeeded.
Exceptions
- ObjectStorageUnavailableException
Thrown when any of the three did not, classified by what stopped it.
- OperationCanceledException
Thrown when
cancellationTokenis cancelled.