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