Workflow Engine .NET  2
Public Member Functions | List of all members
OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache Class Reference

Default cache IParsedProcessCache for parced processes ProcessDefinition More...

Inheritance diagram for OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache:
OptimaJet.Workflow.Core.Cache.IParsedProcessCache

Public Member Functions

void Clear ()
 Clear the cache More...
 
ProcessDefinition GetProcessDefinitionBySchemeId (Guid schemeId)
 Returns process definition from the cache by scheme id, if process definition is not exists in the cache returns null More...
 
void AddProcessDefinition (Guid schemeId, ProcessDefinition processDefinition)
 Adds process definition to the cache with scheme id as the key More...
 

Detailed Description

Default cache IParsedProcessCache for parced processes ProcessDefinition

Member Function Documentation

◆ AddProcessDefinition()

void OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache.AddProcessDefinition ( Guid  schemeId,
ProcessDefinition  processDefinition 
)

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

Parameters
schemeIdId of the scheme
processDefinitionProcessDefinition object

Implements OptimaJet.Workflow.Core.Cache.IParsedProcessCache.

◆ Clear()

void OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache.Clear ( )

◆ GetProcessDefinitionBySchemeId()

ProcessDefinition OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache.GetProcessDefinitionBySchemeId ( Guid  schemeId)

Returns process definition from the cache by scheme id, if process definition is not exists in the cache returns null

Parameters
schemeIdId of the scheme
Returns
ProcessDefinition object

Implements OptimaJet.Workflow.Core.Cache.IParsedProcessCache.