Class DefaultParcedProcessCache
OptimaJet.Workflow.Core.Cache.DefaultParcedProcessCache
Default cache IParsedProcessCache for parced processes ProcessDefinition
Namespace: OptimaJet.Workflow.Core.Cache
public sealed class DefaultParcedProcessCache : IParsedProcessCacheInheritance
- 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
schemeIdGuidId of the scheme
Returns
Type
Description
Booleanpublic 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
schemeIdGuidId of the scheme
Returns
Type
Description
ProcessDefinitionProcessDefinition object
public void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition) #Adds process definition to the cache with scheme id as the key
Parameters
Name
Type
Description
schemeIdGuidId of the scheme
processDefinitionProcessDefinitionProcessDefinition object