org.camunda.bpm.engine.impl.persistence.deploy.cache
Class DmnModelInstanceCache

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>
      extended by org.camunda.bpm.engine.impl.persistence.deploy.cache.DmnModelInstanceCache

public class DmnModelInstanceCache
extends ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>


Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache
definitionCache, instanceCache, LOG
 
Constructor Summary
DmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<DecisionDefinitionEntity> definitionCache)
           
 
Method Summary
protected  List<DecisionDefinition> getAllDefinitionsForDeployment(String deploymentId)
           
protected  void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
           
protected  org.camunda.bpm.model.dmn.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>

readModelFromStream

protected org.camunda.bpm.model.dmn.DmnModelInstance readModelFromStream(InputStream cmmnResourceInputStream)
Specified by:
readModelFromStream in class ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>

logRemoveEntryFromDeploymentCacheFailure

protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId,
                                                        Exception e)
Specified by:
logRemoveEntryFromDeploymentCacheFailure in class ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>

getAllDefinitionsForDeployment

protected List<DecisionDefinition> getAllDefinitionsForDeployment(String deploymentId)
Specified by:
getAllDefinitionsForDeployment in class ModelInstanceCache<org.camunda.bpm.model.dmn.DmnModelInstance,DecisionDefinitionEntity>


Copyright © 2017 camunda services GmbH. All rights reserved.