@Component public class ProcessInstanceExecCacheManagerImpl extends Object implements ProcessInstanceExecCacheManager
| 构造器和说明 |
|---|
ProcessInstanceExecCacheManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic boolean contains(int processInstanceId)
ProcessInstanceExecCacheManagercontains 在接口中 ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic void removeByProcessInstanceId(int processInstanceId)
ProcessInstanceExecCacheManagerremoveByProcessInstanceId 在接口中 ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdpublic void cache(int processInstanceId,
WorkflowExecuteThread workflowExecuteThread)
ProcessInstanceExecCacheManagercache 在接口中 ProcessInstanceExecCacheManagerprocessInstanceId - processInstanceIdworkflowExecuteThread - if it is null, will not be cachedpublic Collection<WorkflowExecuteThread> getAll()
ProcessInstanceExecCacheManagergetAll 在接口中 ProcessInstanceExecCacheManagerCopyright © 2022 The Apache Software Foundation. All rights reserved.