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