Class MultiServerServiceRunner
OptimaJet.Workflow.Core.Runtime.ServiceRunners.MultiServerServiceRunner
Provides a service runner implementation for multi-server workflow runtime execution.
Namespace: OptimaJet.Workflow.Core.Runtime.ServiceRunners
public sealed class MultiServerServiceRunner : IWorkflowServiceRunnerInheritance
- Object
Implemented Interfaces
Constructors
public MultiServerServiceRunner(WorkflowRuntime runtimeOwner, IMultiServerSettingsSource settingsSource) #Initializes a new multi-server service runner for the specified runtime.
Parameters
Name
Type
Description
runtimeOwnerWorkflowRuntimeThe runtime instance that owns this service runner.
Properties
Name
Type
IsSupportsMultiServer #BooleanGets a value indicating that the runner is designed for multi-server execution.
SettingsSource #IMultiServerSettingsSourceGets the settings source used to read multi-server runtime configuration.
Methods
public Task StartAsync(ITimerManager manager) #Starts the multi-server service runner.
Parameters
Name
Type
Description
Returns
Type
Description
TaskA task that is completed after startup checks and initialization are finished.
Remarks
The runner validates startup conditions, coordinates the runtime status lifecycle, and registers the alive and service timers used for process coordination.