Skip to main content

Interface IParsedProcessCache

Interface of a cache for parced processes ProcessDefinition

Namespace: OptimaJet.Workflow.Core.Cache

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface IParsedProcessCache

Methods

Clear()

Clear the cache

Declaration
void Clear()

RemoveProcessDefinition(Guid)

Removes process definition from cache

Declaration
bool RemoveProcessDefinition(Guid schemeId)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
Returns
TypeDescription
bool

GetProcessDefinitionBySchemeId(Guid)

Returns process definition from the cache by scheme id

Declaration
ProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
Returns
TypeDescription
ProcessDefinitionProcessDefinition object

AddProcessDefinition(Guid, ProcessDefinition)

Adds process definition to the cache with scheme id as the key

Declaration
void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition)
Parameters
TypeNameDescription
GuidschemeIdId of the scheme
ProcessDefinitionprocessDefinitionProcessDefinition object

Extension Methods