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 void
logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
protected CmmnModelInstance
readModelFromStream(InputStream cmmnResourceInputStream)
protected void
throwLoadModelException(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:
throwLoadModelException
in classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
readModelFromStream
protected CmmnModelInstance readModelFromStream(InputStream cmmnResourceInputStream)
- Specified by:
readModelFromStream
in classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
logRemoveEntryFromDeploymentCacheFailure
protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
- Specified by:
logRemoveEntryFromDeploymentCacheFailure
in classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
getAllDefinitionsForDeployment
protected List<CaseDefinition> getAllDefinitionsForDeployment(String deploymentId)
- Specified by:
getAllDefinitionsForDeployment
in classModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
-
-