Class WorkflowExecutionLockManager
Namespace: Casewhere.Runtime.Workflows
Assembly: Casewhere.Runtime.dll
Lock/Unlock the workflow with the key follow format: WorkflowExecutionLockManager_{workflowId} The time expire was set in web.config with key engine:WorkflowExecutionLockMaxTimeout, if missing 60s will get as default value
public class WorkflowExecutionLockManager : IWorkflowExecutionLockManager
Inheritance
object ← WorkflowExecutionLockManager
Implements
Inherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<WorkflowExecutionLockManager>(WorkflowExecutionLockManager)
Constructors
WorkflowExecutionLockManager(ILockManager)
public WorkflowExecutionLockManager(ILockManager lockManager)
Parameters
lockManager
ILockManager
Methods
Acquire(Guid)
public bool Acquire(Guid workflowId)
Parameters
workflowId
Guid
Returns
Release(List<Guid>)
public void Release(List<Guid> workflowIds)