Marks this uow as needing to be completed as soon as possible.
Marks this uow as needing to be completed as soon as possible. If not called, the Store implementation may delay completing the uow in the hopes that a subsequent uow will cancel negate all it operations and thus avoid the cost of the persistence operations.
Removes a queue entry
Removes a queue entry
Adds a queue entry
Adds a queue entry
The specified callback is executed once the UOW is completed.
The specified callback is executed once the UOW is completed.
Stores a message.
Stores a message. Messages a reference counted, so make sure you also enqueue it to queue if you don't want it to be discarded right away.
This method auto generates and assigns the key field of the message record and returns it.
A store uow is used to perform persistent operations as a unit of work.
The uow implements the Retained interface and is thread safe. Once the uow is no longer retained, the unit of work is executed.
The disposer assigned to the uow will be executed once the unit of work is persisted or it has been negated by subsequent storage operations.