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