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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>
      extended by org.camunda.bpm.engine.impl.persistence.deploy.cache.BpmnModelInstanceCache

public class BpmnModelInstanceCache
extends ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>


Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.deploy.cache.ModelInstanceCache
definitionCache, instanceCache, LOG
 
Constructor Summary
BpmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<ProcessDefinitionEntity> definitionCache)
           
 
Method Summary
protected  List<ProcessDefinition> getAllDefinitionsForDeployment(String deploymentId)
           
protected  void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
           
protected  org.camunda.bpm.model.bpmn.BpmnModelInstance readModelFromStream(InputStream bpmnResourceInputStream)
           
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

BpmnModelInstanceCache

public BpmnModelInstanceCache(CacheFactory factory,
                              int cacheCapacity,
                              ResourceDefinitionCache<ProcessDefinitionEntity> definitionCache)
Method Detail

throwLoadModelException

protected void throwLoadModelException(String definitionId,
                                       Exception e)
Specified by:
throwLoadModelException in class ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>

readModelFromStream

protected org.camunda.bpm.model.bpmn.BpmnModelInstance readModelFromStream(InputStream bpmnResourceInputStream)
Specified by:
readModelFromStream in class ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>

logRemoveEntryFromDeploymentCacheFailure

protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId,
                                                        Exception e)
Specified by:
logRemoveEntryFromDeploymentCacheFailure in class ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>

getAllDefinitionsForDeployment

protected List<ProcessDefinition> getAllDefinitionsForDeployment(String deploymentId)
Specified by:
getAllDefinitionsForDeployment in class ModelInstanceCache<org.camunda.bpm.model.bpmn.BpmnModelInstance,ProcessDefinitionEntity>


Copyright © 2017 camunda services GmbH. All rights reserved.