Class ProcessDefinitionInfoCache
java.lang.Object
org.activiti.engine.impl.persistence.deploy.ProcessDefinitionInfoCache
Default cache: keep everything in memory, unless a limit is set.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,ProcessDefinitionInfoCacheObject> protected CommandExecutor -
Constructor Summary
ConstructorsConstructorDescriptionProcessDefinitionInfoCache(CommandExecutor commandExecutor) Cache with no limitProcessDefinitionInfoCache(CommandExecutor commandExecutor, int limit) Cache which has a hard limit: no more elements will be cached than the limit. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(String id, ProcessDefinitionInfoCacheObject obj) voidclear()voidprotected ProcessDefinitionInfoCacheObjectretrieveProcessDefinitionInfoCacheObject(String processDefinitionId, CommandContext commandContext) intsize()
-
Field Details
-
cache
-
commandExecutor
-
-
Constructor Details
-
ProcessDefinitionInfoCache
Cache with no limit -
ProcessDefinitionInfoCache
Cache which has a hard limit: no more elements will be cached than the limit.
-
-
Method Details
-
get
-
add
-
remove
-
clear
public void clear() -
size
public int size() -
retrieveProcessDefinitionInfoCacheObject
protected ProcessDefinitionInfoCacheObject retrieveProcessDefinitionInfoCacheObject(String processDefinitionId, CommandContext commandContext)
-