Class DecisionDefinitionCache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache<DecisionDefinitionEntity>
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.DecisionDefinitionCache
-
public class DecisionDefinitionCache extends ResourceDefinitionCache<DecisionDefinitionEntity>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
cache, cacheDeployer
-
-
Constructor Summary
Constructors Constructor Description DecisionDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
Method Summary
-
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 Detail
-
DecisionDefinitionCache
public DecisionDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
-
Method Detail
-
findDeployedDefinitionByKeyAndVersion
public DecisionDefinitionEntity findDeployedDefinitionByKeyAndVersion(String definitionKey, Integer definitionVersion)
-
getManager
protected AbstractResourceDefinitionManager<DecisionDefinitionEntity> getManager()
- Specified by:
getManager
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionId
protected void checkInvalidDefinitionId(String definitionId)
- Specified by:
checkInvalidDefinitionId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkDefinitionFound
protected void checkDefinitionFound(String definitionId, DecisionDefinitionEntity definition)
- 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>
-
-