Class CmmnModelInstanceCache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.CmmnModelInstanceCache
-
public class CmmnModelInstanceCache extends ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache
definitionCache, instanceCache, LOG
-
-
Constructor Summary
Constructors Constructor Description CmmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<CaseDefinitionEntity> definitionCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<CaseDefinition>getAllDefinitionsForDeployment(String deploymentId)protected voidlogRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)protected CmmnModelInstancereadModelFromStream(InputStream cmmnResourceInputStream)protected voidthrowLoadModelException(String definitionId, Exception e)-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache
clear, findBpmnModelInstanceForDefinition, findBpmnModelInstanceForDefinition, getCache, loadAndCacheBpmnModelInstance, remove, removeAllDefinitionsByDeploymentId
-
-
-
-
Constructor Detail
-
CmmnModelInstanceCache
public CmmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<CaseDefinitionEntity> definitionCache)
-
-
Method Detail
-
throwLoadModelException
protected void throwLoadModelException(String definitionId, Exception e)
- Specified by:
throwLoadModelExceptionin classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
readModelFromStream
protected CmmnModelInstance readModelFromStream(InputStream cmmnResourceInputStream)
- Specified by:
readModelFromStreamin classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
logRemoveEntryFromDeploymentCacheFailure
protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
- Specified by:
logRemoveEntryFromDeploymentCacheFailurein classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
getAllDefinitionsForDeployment
protected List<CaseDefinition> getAllDefinitionsForDeployment(String deploymentId)
- Specified by:
getAllDefinitionsForDeploymentin classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
-