Interface ITimerManager
OptimaJet.Workflow.Core.Runtime.ITimerManager
Manages the lifecycle and registration of timers within a workflow runtime.
Namespace: OptimaJet.Workflow.Core.Runtime
public interface ITimerManagerProperties
Name
Type
IsSupportsMultiServer #BooleanGets a value indicating whether the timer manager supports multiserver environments.
Methods
void Init(WorkflowRuntime runtime) #Initializes the timer manager with the specified workflow runtime.
Parameters
Name
Type
Description
runtimeWorkflowRuntimeThe workflow runtime instance.
Task StartAsync() #Starts the timer manager.
Returns
Type
Description
TaskA task that represents the asynchronous start operation.
Task StopAsync() #Stops the timer manager.
Returns
Type
Description
TaskA task that represents the asynchronous stop operation.
Task ClearAndRegisterTimersAsync(ProcessInstance processInstance) #Clears existing timers and registers new timers for the specified process instance.
Parameters
Name
Type
Description
processInstanceProcessInstanceThe process instance whose timers need to be cleared and registered.
Returns
Type
Description
TaskA task that represents the asynchronous operation.