Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class DefaultParcedProcessCache

OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache

Default cache IParsedProcessCache for parced processes ProcessDefinition

public sealed class DefaultParcedProcessCache : IParsedProcessCache

Inheritance

  • System.Object

Implemented Interfaces

Methods

public void Clear() #
Clear the cache
public bool RemoveProcessDefinition(Guid schemeId) #
Removes process definition from cache

Parameters

Name
Type
Description
schemeId
Guid
Id of the scheme

Returns

Type
Description
Boolean
public ProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId) #
Returns process definition from the cache by scheme id, if process definition is not exists in the cache returns null

Parameters

Name
Type
Description
schemeId
Guid
Id of the scheme

Returns

Type
Description
ProcessDefinition
ProcessDefinition object
public void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition) #
Adds process definition to the cache with scheme id as the key

Parameters

Name
Type
Description
schemeId
Guid
Id of the scheme
processDefinition
ProcessDefinition
ProcessDefinition object