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