Interface IParsedProcessCache
Interface of a cache for parced processes ProcessDefinition
Namespace: OptimaJet.Workflow.Core.Cache
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic interface IParsedProcessCache
Methods
Clear()
Clear the cache
Declarationvoid Clear()
RemoveProcessDefinition(Guid)
Removes process definition from cache
Declarationbool RemoveProcessDefinition(Guid schemeId)
Type | Name | Description |
---|---|---|
Guid | schemeId | Id of the scheme |
Type | Description |
---|---|
bool |
GetProcessDefinitionBySchemeId(Guid)
Returns process definition from the cache by scheme id
DeclarationProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId)
Type | Name | Description |
---|---|---|
Guid | schemeId | Id of the scheme |
Type | Description |
---|---|
ProcessDefinition | ProcessDefinition object |
AddProcessDefinition(Guid, ProcessDefinition)
Adds process definition to the cache with scheme id as the key
Declarationvoid AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition)
Type | Name | Description |
---|---|---|
Guid | schemeId | Id of the scheme |
ProcessDefinition | processDefinition | ProcessDefinition object |