Table of Contents

Class JobSideEffects

Namespace
Millrace.Invocations
Assembly
Millrace.dll

Effects a running job asks to have committed with its own completion.

public sealed class JobSideEffects
Inheritance
JobSideEffects
Inherited Members

Remarks

Scoped to one job execution. The workflow engine writes to it while an activity runs; the worker folds it into the terminal transition, so the instance checkpoint, the next activity's enqueue and this job's completion land in one atom (§4.2 clause 7, §11.16).

This exists because the alternative — the engine applying its own storage calls around the job — is precisely the split that cannot be made atomic. A handler cannot commit anything itself; it can only describe what should commit alongside it.

Properties

Bookmarks

Bookmarks to insert in the same transaction.

Checkpoint

Workflow instance update to apply in the same transaction, if any.

Enqueue

Jobs to insert in the same transaction.

Remerge

Recomputes Checkpoint against the current stored state, after another writer won the revision race.