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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkDefinitionFound(java.lang.String definitionId, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String definitionKey, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionByKey(java.lang.String definitionKey, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyAndTenantId(java.lang.String definitionKey, java.lang.String tenantId, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyAndVersion(java.lang.String decisionDefinitionKey, java.lang.Integer decisionDefinitionVersion, DecisionDefinitionEntity decisionDefinition)
protected void
checkInvalidDefinitionByKeyVersionAndTenantId(java.lang.String definitionKey, java.lang.Integer definitionVersion, java.lang.String tenantId, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionByKeyVersionTagAndTenantId(java.lang.String definitionKey, java.lang.String definitionVersionTag, java.lang.String tenantId, DecisionDefinitionEntity definition)
protected void
checkInvalidDefinitionId(java.lang.String definitionId)
protected void
checkInvalidDefinitionWasCached(java.lang.String deploymentId, java.lang.String definitionId, DecisionDefinitionEntity definition)
DecisionDefinitionEntity
findDeployedDefinitionByKeyAndVersion(java.lang.String definitionKey, java.lang.Integer definitionVersion)
protected AbstractResourceDefinitionManager<DecisionDefinitionEntity>
getManager()
-
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(java.lang.String definitionKey, java.lang.Integer definitionVersion)
-
getManager
protected AbstractResourceDefinitionManager<DecisionDefinitionEntity> getManager()
- Specified by:
getManager
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionId
protected void checkInvalidDefinitionId(java.lang.String definitionId)
- Specified by:
checkInvalidDefinitionId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkDefinitionFound
protected void checkDefinitionFound(java.lang.String definitionId, DecisionDefinitionEntity definition)
- Specified by:
checkDefinitionFound
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKey
protected void checkInvalidDefinitionByKey(java.lang.String definitionKey, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKey
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyAndTenantId
protected void checkInvalidDefinitionByKeyAndTenantId(java.lang.String definitionKey, java.lang.String tenantId, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyAndVersion
protected void checkInvalidDefinitionByKeyAndVersion(java.lang.String decisionDefinitionKey, java.lang.Integer decisionDefinitionVersion, DecisionDefinitionEntity decisionDefinition)
-
checkInvalidDefinitionByKeyVersionAndTenantId
protected void checkInvalidDefinitionByKeyVersionAndTenantId(java.lang.String definitionKey, java.lang.Integer definitionVersion, java.lang.String tenantId, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionTagAndTenantId
protected void checkInvalidDefinitionByKeyVersionTagAndTenantId(java.lang.String definitionKey, java.lang.String definitionVersionTag, java.lang.String tenantId, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionTagAndTenantId
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionByDeploymentAndKey
protected void checkInvalidDefinitionByDeploymentAndKey(java.lang.String deploymentId, java.lang.String definitionKey, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByDeploymentAndKey
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
checkInvalidDefinitionWasCached
protected void checkInvalidDefinitionWasCached(java.lang.String deploymentId, java.lang.String definitionId, DecisionDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionWasCached
in classResourceDefinitionCache<DecisionDefinitionEntity>
-
-