public void addProcessDefinition(ProcessDefinitionEntity processDefinition) { processDefinitionEntityCache.addDefinition(processDefinition); }
public ProcessDefinitionEntity findProcessDefinitionFromCache(String processDefinitionId) { return processDefinitionEntityCache.findDefinitionFromCache(processDefinitionId); }
public ProcessDefinitionEntity findDeployedProcessDefinitionByDeploymentAndKey(String deploymentId, String processDefinitionKey) { return processDefinitionEntityCache.findDeployedDefinitionByDeploymentAndKey(deploymentId, processDefinitionKey); }
/** * @return the latest version of the process definition with the given key (from any tenant) * @throws ProcessEngineException if more than one tenant has a process definition with the given key * @see #findDeployedLatestProcessDefinitionByKeyAndTenantId(String, String) */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKey(String processDefinitionKey) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKey(processDefinitionKey); }
/** * @return the latest version of the process definition with the given key and tenant id */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKeyAndTenantId(processDefinitionKey, tenantId); }
public DeploymentCache(CacheFactory factory, int cacheCapacity) { processDefinitionEntityCache = new ProcessDefinitionCache(factory, cacheCapacity, cacheDeployer); caseDefinitionCache = new CaseDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionDefinitionCache = new DecisionDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionRequirementsDefinitionCache = new DecisionRequirementsDefinitionCache(factory, cacheCapacity, cacheDeployer); bpmnModelInstanceCache = new BpmnModelInstanceCache(factory, cacheCapacity, processDefinitionEntityCache); cmmnModelInstanceCache = new CmmnModelInstanceCache(factory, cacheCapacity, caseDefinitionCache); dmnModelInstanceCache = new DmnModelInstanceCache(factory, cacheCapacity, decisionDefinitionCache); }
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyVersionAndTenantId(final String processDefinitionKey, final Integer processDefinitionVersion, final String tenantId) { return processDefinitionEntityCache.findDeployedDefinitionByKeyVersionAndTenantId(processDefinitionKey, processDefinitionVersion, tenantId); }
public void discardProcessDefinitionCache() { processDefinitionEntityCache.clear(); bpmnModelInstanceCache.clear(); }
public ProcessDefinitionEntity findDeployedProcessDefinitionById(String processDefinitionId) { return processDefinitionEntityCache.findDeployedDefinitionById(processDefinitionId); }
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyVersionTagAndTenantId(String processDefinitionKey, String processDefinitionVersionTag, String tenantId) { return processDefinitionEntityCache.findDeployedDefinitionByKeyVersionTagAndTenantId(processDefinitionKey, processDefinitionVersionTag, tenantId); }
/** * @return the latest version of the process definition with the given key (from any tenant) * @throws ProcessEngineException if more than one tenant has a process definition with the given key * @see #findDeployedLatestProcessDefinitionByKeyAndTenantId(String, String) */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKey(String processDefinitionKey) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKey(processDefinitionKey); }
/** * @return the latest version of the process definition with the given key and tenant id */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKeyAndTenantId(processDefinitionKey, tenantId); }
public DeploymentCache(CacheFactory factory, int cacheCapacity) { processDefinitionEntityCache = new ProcessDefinitionCache(factory, cacheCapacity, cacheDeployer); caseDefinitionCache = new CaseDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionDefinitionCache = new DecisionDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionRequirementsDefinitionCache = new DecisionRequirementsDefinitionCache(factory, cacheCapacity, cacheDeployer); bpmnModelInstanceCache = new BpmnModelInstanceCache(factory, cacheCapacity, processDefinitionEntityCache); cmmnModelInstanceCache = new CmmnModelInstanceCache(factory, cacheCapacity, caseDefinitionCache); dmnModelInstanceCache = new DmnModelInstanceCache(factory, cacheCapacity, decisionDefinitionCache); }
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyVersionAndTenantId(final String processDefinitionKey, final Integer processDefinitionVersion, final String tenantId) { return processDefinitionEntityCache.findDeployedDefinitionByKeyVersionAndTenantId(processDefinitionKey, processDefinitionVersion, tenantId); }
public void discardProcessDefinitionCache() { processDefinitionEntityCache.clear(); bpmnModelInstanceCache.clear(); }
public ProcessDefinitionEntity findDeployedProcessDefinitionById(String processDefinitionId) { return processDefinitionEntityCache.findDeployedDefinitionById(processDefinitionId); }
public ProcessDefinitionEntity findDeployedProcessDefinitionByKeyVersionTagAndTenantId(String processDefinitionKey, String processDefinitionVersionTag, String tenantId) { return processDefinitionEntityCache.findDeployedDefinitionByKeyVersionTagAndTenantId(processDefinitionKey, processDefinitionVersionTag, tenantId); }
/** * @return the latest version of the process definition with the given key (from any tenant) * @throws ProcessEngineException if more than one tenant has a process definition with the given key * @see #findDeployedLatestProcessDefinitionByKeyAndTenantId(String, String) */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKey(String processDefinitionKey) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKey(processDefinitionKey); }
/** * @return the latest version of the process definition with the given key and tenant id */ public ProcessDefinitionEntity findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId) { return processDefinitionEntityCache.findDeployedLatestDefinitionByKeyAndTenantId(processDefinitionKey, tenantId); }
public DeploymentCache(CacheFactory factory, int cacheCapacity) { processDefinitionEntityCache = new ProcessDefinitionCache(factory, cacheCapacity, cacheDeployer); caseDefinitionCache = new CaseDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionDefinitionCache = new DecisionDefinitionCache(factory, cacheCapacity, cacheDeployer); decisionRequirementsDefinitionCache = new DecisionRequirementsDefinitionCache(factory, cacheCapacity, cacheDeployer); bpmnModelInstanceCache = new BpmnModelInstanceCache(factory, cacheCapacity, processDefinitionEntityCache); cmmnModelInstanceCache = new CmmnModelInstanceCache(factory, cacheCapacity, caseDefinitionCache); dmnModelInstanceCache = new DmnModelInstanceCache(factory, cacheCapacity, decisionDefinitionCache); }