Class DmnModelInstanceCache
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
- org.camunda.bpm.engine.impl.persistence.deploy.cache.DmnModelInstanceCache
-
public class DmnModelInstanceCache extends ModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache
definitionCache, instanceCache, LOG
-
-
Constructor Summary
Constructors Constructor Description DmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<DecisionDefinitionEntity> definitionCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<DecisionDefinition>
getAllDefinitionsForDeployment(String deploymentId)
protected void
logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
protected DmnModelInstance
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
-
DmnModelInstanceCache
public DmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<DecisionDefinitionEntity> definitionCache)
-
-
Method Detail
-
throwLoadModelException
protected void throwLoadModelException(String definitionId, Exception e)
- Specified by:
throwLoadModelException
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
readModelFromStream
protected DmnModelInstance readModelFromStream(InputStream cmmnResourceInputStream)
- Specified by:
readModelFromStream
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
logRemoveEntryFromDeploymentCacheFailure
protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
- Specified by:
logRemoveEntryFromDeploymentCacheFailure
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
getAllDefinitionsForDeployment
protected List<DecisionDefinition> getAllDefinitionsForDeployment(String deploymentId)
- Specified by:
getAllDefinitionsForDeployment
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
-