Enum StoredContentMoveState
- Namespace
- MailFathom.Application.EmailContent.Move
- Assembly
- MailFathom.Application.dll
Says what the one move of a deployment's stored content into the bucket is currently doing.
public enum StoredContentMoveState
Fields
Completed = 2The walk reached the end of every payload kind, so nothing is left for it to reach.
It says the walk finished rather than that every payload moved. A payload the move refused to repoint is counted as failed and left database-backed, and asking for a further move is what walks it again.
Paused = 1The operator stopped it, and it stays exactly where it is until they resume it.
Running = 0The deployment carries the move forward whenever its bounded pass next runs.
Remarks
Three states rather than a pair of flags, because an operator asking about the move asks one question — is it working, is it waiting for me, or is it over — and two independent booleans would admit a fourth answer that means nothing.
The state is what a bounded pass reads before it copies anything, so pausing is a write to this and nothing else. No work is cancelled and no attempt is abandoned mid-payload: the pass that is already running finishes the payload it holds, and the next one finds the move stopped.