Class SingleServerServiceRunner
OptimaJet.Workflow.Core.Runtime.ServiceRunners.SingleServerServiceRunner
Provides a service runner implementation for single-server workflow runtime execution.
Namespace: OptimaJet.Workflow.Core.Runtime.ServiceRunners
public class SingleServerServiceRunner : IWorkflowServiceRunnerInheritance
- Object
Implemented Interfaces
Constructors
public SingleServerServiceRunner(WorkflowRuntime runtime, SingleServerSettings singleServerSettings) #Initializes a new instance of the SingleServerServiceRunner class using in-memory single-server settings.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe workflow runtime associated with this runner.
singleServerSettingsSingleServerSettingsThe settings used to initialize an in-memory single-server settings source.
public SingleServerServiceRunner(WorkflowRuntime runtime, ISingleServerSettingsSource settingSource) #Initializes a new instance of the SingleServerServiceRunner class.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe workflow runtime associated with this runner.
settingSourceISingleServerSettingsSourceThe settings source used to load and save single-server settings.
Properties
Name
Type
IsSupportsMultiServer #BooleanGets a value indicating that this runner is configured for single-server execution.
Methods
public Task StartAsync(ITimerManager manager) #Starts single-server initialization, synchronizing runtime status and restoring active processes when configured to do so.
Parameters
Name
Type
Description
managerITimerManagerThe timer manager to start after startup, if provided and runtime is not cold.
Returns
Type
Description
TaskA task that completes when startup initialization has finished.