Class CaseDefinitionCache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache<CaseDefinitionEntity>
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.CaseDefinitionCache
-
public class CaseDefinitionCache extends ResourceDefinitionCache<CaseDefinitionEntity>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache
cache, cacheDeployer
-
-
Constructor Summary
Constructors Constructor Description CaseDefinitionCache(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
-
CaseDefinitionCache
public CaseDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
-
-
Method Detail
-
getCaseDefinitionById
public CaseDefinitionEntity getCaseDefinitionById(String caseDefinitionId)
-
getManager
protected AbstractResourceDefinitionManager<CaseDefinitionEntity> getManager()
- Specified by:
getManager
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionId
protected void checkInvalidDefinitionId(String definitionId)
- Specified by:
checkInvalidDefinitionId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkDefinitionFound
protected void checkDefinitionFound(String definitionId, CaseDefinitionEntity definition)
- Specified by:
checkDefinitionFound
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKey
protected void checkInvalidDefinitionByKey(String definitionKey, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKey
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyAndTenantId
protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionAndTenantId
protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByKeyVersionTagAndTenantId
protected void checkInvalidDefinitionByKeyVersionTagAndTenantId(String definitionKey, String definitionVersionTag, String tenantId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByKeyVersionTagAndTenantId
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionByDeploymentAndKey
protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionByDeploymentAndKey
in classResourceDefinitionCache<CaseDefinitionEntity>
-
checkInvalidDefinitionWasCached
protected void checkInvalidDefinitionWasCached(String deploymentId, String definitionId, CaseDefinitionEntity definition)
- Specified by:
checkInvalidDefinitionWasCached
in classResourceDefinitionCache<CaseDefinitionEntity>
-
-