Interface ITimerManager
OptimaJet.Workflow.Core.Runtime.ITimerManager
Defines services for initializing and managing workflow timers at runtime.
Namespace: OptimaJet.Workflow.Core.Runtime
public interface ITimerManagerProperties
bool IsSupportsMultiServer { get; } #Gets a value indicating whether this timer manager can be used in multi-server runtime deployments.
Methods
void Init(WorkflowRuntime runtime) #Initializes the timer manager for the specified workflow runtime.
Parameters
Name
Type
Description
Task StartAsync() #Starts timer processing for the configured runtime.
Returns
Type
Description
TaskA task that represents the asynchronous start operation.
Task StopAsync() #Stops timer processing for the configured runtime.
Returns
Type
Description
TaskA task that represents the asynchronous stop operation.
Task ClearAndRegisterTimersAsync(ProcessInstance processInstance) #Clears currently registered timers and registers timers for the specified process instance.
Parameters
Name
Type
Description
processInstanceProcessInstanceThe process instance for which timers should be removed and (re)registered.
Returns
Type
Description
TaskA task that represents the asynchronous operation.