org.camunda.bpm.engine.impl.persistence.deploy.cache
Class ProcessDefinitionCache

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.deploy.cache.ResourceDefinitionCache<ProcessDefinitionEntity>
      extended by 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
ProcessDefinitionCache(CacheFactory factory, int cacheCapacity, CacheDeployer cacheDeployer)
           
 
Method Summary
protected  void checkDefinitionFound(String definitionId, ProcessDefinitionEntity definition)
           
protected  void checkInvalidDefinitionByDeploymentAndKey(String deploymentId, String definitionKey, ProcessDefinitionEntity definition)
           
protected  void checkInvalidDefinitionByKey(String definitionKey, ProcessDefinitionEntity definition)
           
protected  void checkInvalidDefinitionByKeyAndTenantId(String definitionKey, String tenantId, ProcessDefinitionEntity definition)
           
protected  void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey, Integer definitionVersion, String tenantId, ProcessDefinitionEntity definition)
           
protected  void checkInvalidDefinitionId(String definitionId)
           
protected  void checkInvalidDefinitionWasCached(String deploymentId, 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, findDeployedLatestDefinitionByKey, findDeployedLatestDefinitionByKeyAndTenantId, getCache, getDefinition, removeDefinitionFromCache, resolveDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessDefinitionCache

public ProcessDefinitionCache(CacheFactory factory,
                              int cacheCapacity,
                              CacheDeployer cacheDeployer)
Method Detail

getManager

protected AbstractResourceDefinitionManager<ProcessDefinitionEntity> getManager()
Specified by:
getManager in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionId

protected void checkInvalidDefinitionId(String definitionId)
Specified by:
checkInvalidDefinitionId in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkDefinitionFound

protected void checkDefinitionFound(String definitionId,
                                    ProcessDefinitionEntity definition)
Specified by:
checkDefinitionFound in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionByKey

protected void checkInvalidDefinitionByKey(String definitionKey,
                                           ProcessDefinitionEntity definition)
Specified by:
checkInvalidDefinitionByKey in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionByKeyAndTenantId

protected void checkInvalidDefinitionByKeyAndTenantId(String definitionKey,
                                                      String tenantId,
                                                      ProcessDefinitionEntity definition)
Specified by:
checkInvalidDefinitionByKeyAndTenantId in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionByKeyVersionAndTenantId

protected void checkInvalidDefinitionByKeyVersionAndTenantId(String definitionKey,
                                                             Integer definitionVersion,
                                                             String tenantId,
                                                             ProcessDefinitionEntity definition)
Specified by:
checkInvalidDefinitionByKeyVersionAndTenantId in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionByDeploymentAndKey

protected void checkInvalidDefinitionByDeploymentAndKey(String deploymentId,
                                                        String definitionKey,
                                                        ProcessDefinitionEntity definition)
Specified by:
checkInvalidDefinitionByDeploymentAndKey in class ResourceDefinitionCache<ProcessDefinitionEntity>

checkInvalidDefinitionWasCached

protected void checkInvalidDefinitionWasCached(String deploymentId,
                                               String definitionId,
                                               ProcessDefinitionEntity definition)
Specified by:
checkInvalidDefinitionWasCached in class ResourceDefinitionCache<ProcessDefinitionEntity>


Copyright © 2017 camunda services GmbH. All rights reserved.