Interface IParsedProcessCache
OptimaJet.Workflow.Core.Cache.IParsedProcessCache
Provides access to a cache of parsed ProcessDefinition instances keyed by scheme identifier.
Namespace: OptimaJet.Workflow.Core.Cache
public interface IParsedProcessCacheType Hierarchy
- IParsedProcessCache Current type
- Implementing types
Methods
void Clear() #Clears all cached process definitions.
bool RemoveProcessDefinition(Guid schemeId) #Removes a cached process definition by scheme identifier.
ProcessDefinition GetProcessDefinitionBySchemeId(Guid schemeId) #Gets a cached process definition by scheme identifier.
Parameters
Name
Type
Description
schemeIdGuidThe identifier of the scheme for which to retrieve a process definition.
Returns
Type
Description
ProcessDefinitionThe cached process definition if one exists for
schemeId; otherwise, null.void AddProcessDefinition(Guid schemeId, ProcessDefinition processDefinition) #Adds or updates a process definition in the cache using the scheme identifier as key.
Parameters
Name
Type
Description
schemeIdGuidThe identifier of the scheme.