Class SingleServerRestorer
OptimaJet.Workflow.Core.Runtime.ServiceRunners.SingleServerRestorer
Provides single-server process restoring behavior by delegating restore execution to RestorerBase.
Namespace: OptimaJet.Workflow.Core.Runtime.ServiceRunners
public class SingleServerRestorer : RestorerBaseInheritance
- Object
- RestorerBase
Constructors
public SingleServerRestorer(WorkflowRuntime runtimeOwner, CancellationToken token) #Initializes a new instance of the SingleServerRestorer class.
Parameters
Name
Type
Description
runtimeOwnerWorkflowRuntimeRuntime owner whose process data and restorers are used during restore execution.
tokenCancellationTokenToken that is observed when the returned restore action starts.
Methods
public Func<Task> GetRestorerAsyncAction(Guid processId) #Creates an asynchronous restore action for a single process in a single-server runtime.
Parameters
Name
Type
Description
processIdGuidIdentifier of the process instance to restore.
Returns
Type
Description
Func<Task>A delegate that performs the restore action when invoked.