Class DefaultParcedProcessCache
Default cache IParsedProcessCache for parced processes ProcessDefinition
Inheritance
↳ object
↳ DefaultParcedProcessCache
Implements
IParsedProcessCache
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Cache
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class DefaultParcedProcessCache : IParsedProcessCache
Methods
Clear()
Clear the cache
Declarationpublic void Clear()
RemoveProcessDefinition(Guid)
Declarationpublic bool RemoveProcessDefinition(Guid schemeId)
Type | Name | Description |
---|---|---|
Guid | schemeId |
Type | Description |
---|---|
bool |
GetProcessDefinitionBySchemeId(Guid)
Returns process definition from the cache by scheme id, if process definition is not exists in the cache returns null
Declarationpublic ProcessDefinition 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
Declarationpublic void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition)
Type | Name | Description |
---|---|---|
Guid | schemeId | Id of the scheme |
ProcessDefinition | processDefinition | ProcessDefinition object |