Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Interface ITimerManager

OptimaJet.Workflow.Core.Runtime.ITimerManager

Manages the lifecycle and registration of timers within a workflow runtime.

public interface ITimerManager

Properties

Name
Type
IsSupportsMultiServer #
Boolean
Gets 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
runtime
WorkflowRuntime
The workflow runtime instance.
Task StartAsync() #
Starts the timer manager.

Returns

Type
Description
Task
A task that represents the asynchronous start operation.
Task StopAsync() #
Stops the timer manager.

Returns

Type
Description
Task
A 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
processInstance
ProcessInstance
The process instance whose timers need to be cleared and registered.

Returns

Type
Description
Task
A task that represents the asynchronous operation.