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

Interface of a cache for parced processes ProcessDefinition More...

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

Public Member Functions

void Clear ()
 Clear the cache More...
 
ProcessDefinition GetProcessDefinitionBySchemeId (Guid schemeId)
 Returns process definition from the cache by scheme id More...
 
void AddProcessDefinition (Guid schemeId, ProcessDefinition processDefinition)
 Adds process definition to the cache with scheme id as the key More...
 

Detailed Description

Interface of a cache for parced processes ProcessDefinition

Member Function Documentation

◆ AddProcessDefinition()

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

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

Parameters
schemeIdId of the scheme
processDefinitionProcessDefinition object

Implemented in OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache.

◆ Clear()

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

◆ GetProcessDefinitionBySchemeId()

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

Returns process definition from the cache by scheme id

Parameters
schemeIdId of the scheme
Returns
ProcessDefinition object

Implemented in OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache.