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