Method NewHold
- Namespace
- MailFathom.Application.Coordination
- Assembly
- MailFathom.Application.dll
NewHold()
Creates a holder for a new hold, unique across every process that shares the database.
public static WorkLeaseHolder NewHold()
Returns
- WorkLeaseHolder
A holder nothing else will produce.
Remarks
A random identity rather than a host name, because two replicas of one deployment are the case the compare-and-set exists for and neither can see what the other allocated. It is not a security token, so the ordinary UUID generator is what this needs.