Class DecisionDefinitionCache
java.lang.Object
org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache<DecisionDefinitionEntity>
org.camunda.bpm.engine.impl.persistence.deploy.cache.DecisionDefinitionCache
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
cache, cacheDeployer
-
Constructor Summary
ConstructorDescriptionDecisionDefinitionCache
(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkDefinitionFound
(String definitionId, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionByDeploymentAndKey
(String deploymentId, String definitionKey, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionByKey
(String definitionKey, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionByKeyAndTenantId
(String definitionKey, String tenantId, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionByKeyAndVersion
(String decisionDefinitionKey, Integer decisionDefinitionVersion, DecisionDefinitionEntity decisionDefinition) protected void
checkInvalidDefinitionByKeyVersionAndTenantId
(String definitionKey, Integer definitionVersion, String tenantId, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionByKeyVersionTagAndTenantId
(String definitionKey, String definitionVersionTag, String tenantId, DecisionDefinitionEntity definition) protected void
checkInvalidDefinitionId
(String definitionId) protected void
checkInvalidDefinitionWasCached
(String deploymentId, String definitionId, DecisionDefinitionEntity definition) findDeployedDefinitionByKeyAndVersion
(String definitionKey, Integer definitionVersion) Methods inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
addDefinition, clear, findDefinitionFromCache, findDeployedDefinitionByDeploymentAndKey, findDeployedDefinitionById, findDeployedDefinitionByKeyVersionAndTenantId, findDeployedDefinitionByKeyVersionTagAndTenantId, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
-
Constructor Details
-
DecisionDefinitionCache
public DecisionDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
-
Method Details
-
findDeployedDefinitionByKeyAndVersion
public DecisionDefinitionEntity findDeployedDefinitionByKeyAndVersion(String definitionKey, Integer definitionVersion) -
getManager
- Specified by:
getManager
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionId
- Specified by:
checkInvalidDefinitionId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkDefinitionFound
- Specified by:
checkDefinitionFound
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKey
protected void checkInvalidDefinitionByKey(String definitionKey, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionByKey
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyAndTenantId
protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionByKeyAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyAndVersion
protected void checkInvalidDefinitionByKeyAndVersion(String decisionDefinitionKey, Integer decisionDefinitionVersion, DecisionDefinitionEntity decisionDefinition) -
checkInvalidDefinitionByKeyVersionAndTenantId
protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionByKeyVersionAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionTagAndTenantId
protected void checkInvalidDefinitionByKeyVersionTagAndTenantId(String definitionKey, String definitionVersionTag, String tenantId, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionByKeyVersionTagAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByDeploymentAndKey
protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionByDeploymentAndKey
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionWasCached
protected void checkInvalidDefinitionWasCached(String deploymentId, String definitionId, DecisionDefinitionEntity definition) - Specified by:
checkInvalidDefinitionWasCached
in classResourceDefinitionCache<DecisionDefinitionEntity>
-