public class CmmnModelInstanceCache extends ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
definitionCache, instanceCache, LOG
Constructor and Description |
---|
CmmnModelInstanceCache(CacheFactory factory,
int cacheCapacity,
ResourceDefinitionCache<CaseDefinitionEntity> definitionCache) |
Modifier and Type | Method and Description |
---|---|
protected List<DecisionDefinition> |
getAllDefinitionsForDeployment(String deploymentId) |
protected void |
logRemoveEntryFromDeploymentCacheFailure(String definitionId,
Exception e) |
protected CmmnModelInstance |
readModelFromStream(InputStream cmmnResourceInputStream) |
protected void |
throwLoadModelException(String definitionId,
Exception e) |
clear, findBpmnModelInstanceForDefinition, findBpmnModelInstanceForDefinition, getCache, loadAndCacheBpmnModelInstance, remove, removeAllDefinitionsByDeploymentId
public CmmnModelInstanceCache(CacheFactory factory, int cacheCapacity, ResourceDefinitionCache<CaseDefinitionEntity> definitionCache)
protected void throwLoadModelException(String definitionId, Exception e)
throwLoadModelException
in class ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
protected CmmnModelInstance readModelFromStream(InputStream cmmnResourceInputStream)
readModelFromStream
in class ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
protected void logRemoveEntryFromDeploymentCacheFailure(String definitionId, Exception e)
logRemoveEntryFromDeploymentCacheFailure
in class ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
protected List<DecisionDefinition> getAllDefinitionsForDeployment(String deploymentId)
getAllDefinitionsForDeployment
in class ModelInstanceCache<CmmnModelInstance,CaseDefinitionEntity>
Copyright © 2018. All rights reserved.