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
ConstructorDescriptionBpmnModelInstanceCache
(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<ProcessDefinitionEntity> definitionCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
BpmnModelInstanceCache
public BpmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<ProcessDefinitionEntity> definitionCache)
-
-
Method Details
-
throwLoadModelException
- Specified by:
throwLoadModelException
in classModelInstanceCache<BpmnModelInstance,
ProcessDefinitionEntity>
-
readModelFromStream
- Specified by:
readModelFromStream
in classModelInstanceCache<BpmnModelInstance,
ProcessDefinitionEntity>
-
logRemoveEntryFromDeploymentCacheFailure
- Specified by:
logRemoveEntryFromDeploymentCacheFailure
in classModelInstanceCache<BpmnModelInstance,
ProcessDefinitionEntity>
-
getAllDefinitionsForDeployment
- Specified by:
getAllDefinitionsForDeployment
in classModelInstanceCache<BpmnModelInstance,
ProcessDefinitionEntity>
-