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 java.util.List<DecisionDefinition>
getAllDefinitionsForDeployment(java.lang.String deploymentId)
protected void
logRemoveEntryFromDeploymentCacheFailure(java.lang.String definitionId, java.lang.Exception e)
protected DmnModelInstance
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
-
DmnModelInstanceCache
public DmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<DecisionDefinitionEntity> definitionCache)
-
-
Method Detail
-
throwLoadModelException
protected void throwLoadModelException(java.lang.String definitionId, java.lang.Exception e)
- Specified by:
throwLoadModelException
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
readModelFromStream
protected DmnModelInstance readModelFromStream(java.io.InputStream cmmnResourceInputStream)
- Specified by:
readModelFromStream
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
logRemoveEntryFromDeploymentCacheFailure
protected void logRemoveEntryFromDeploymentCacheFailure(java.lang.String definitionId, java.lang.Exception e)
- Specified by:
logRemoveEntryFromDeploymentCacheFailure
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
getAllDefinitionsForDeployment
protected java.util.List<DecisionDefinition> getAllDefinitionsForDeployment(java.lang.String deploymentId)
- Specified by:
getAllDefinitionsForDeployment
in classModelInstanceCache<DmnModelInstance,DecisionDefinitionEntity>
-
-