@Component public class ProcessInstanceExecCacheManagerImpl extends Object implements ProcessInstanceExecCacheManager
| Constructor and Description |
|---|
ProcessInstanceExecCacheManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cache(int processInstanceId,
WorkflowExecuteThread workflowExecuteThread)
cache
|
boolean |
contains(int processInstanceId)
judge the process instance does it exist
|
Collection<WorkflowExecuteThread> |
getAll()
get all WorkflowExecuteThread from cache
|
WorkflowExecuteThread |
getByProcessInstanceId(int processInstanceId)
get WorkflowExecuteThread by process instance id
|
void |
removeByProcessInstanceId(int processInstanceId)
remove cache by process instance id
|
public WorkflowExecuteThread getByProcessInstanceId(int processInstanceId)
ProcessInstanceExecCacheManagergetByProcessInstanceId in interface ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic boolean contains(int processInstanceId)
ProcessInstanceExecCacheManagercontains in interface ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic void removeByProcessInstanceId(int processInstanceId)
ProcessInstanceExecCacheManagerremoveByProcessInstanceId in interface ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic void cache(int processInstanceId,
WorkflowExecuteThread workflowExecuteThread)
ProcessInstanceExecCacheManagercache in interface ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdworkflowExecuteThread - if it is null, will not be cachedpublic Collection<WorkflowExecuteThread> getAll()
ProcessInstanceExecCacheManagergetAll in interface ProcessInstanceExecCacheManagerCopyright © 2022 The Apache Software Foundation. All rights reserved.