public class FlowManager extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_THREAD_COUNT |
static Integer |
YES |
| 构造器和说明 |
|---|
FlowManager(IFlowService flowService,
boolean lazyLoadFlowConfig) |
FlowManager(IFlowService flowService,
IFlowLock lock,
ExecutorService executor,
boolean lazyLoadFlowConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
IFlowService |
getFlowService() |
void |
setExecutor(ThreadPoolExecutor executor) |
void |
setLock(IFlowLock lock) |
void |
setScriptExecutor(IScriptExecutor scriptExecutor) |
Future<FlowContext> |
startFlow(FlowIn flowIn) |
Future<FlowContext> |
startFlow(FlowIn flowIn,
FlowContext parent) |
FlowContext |
startFlowSync(FlowIn flowIn) |
FlowContext |
startFlowSync(FlowIn flowIn,
FlowContext parent) |
public static final Integer YES
public static final int DEFAULT_THREAD_COUNT
public FlowManager(IFlowService flowService, boolean lazyLoadFlowConfig)
public FlowManager(IFlowService flowService, IFlowLock lock, ExecutorService executor, boolean lazyLoadFlowConfig)
public Future<FlowContext> startFlow(FlowIn flowIn)
public Future<FlowContext> startFlow(FlowIn flowIn, FlowContext parent)
public FlowContext startFlowSync(FlowIn flowIn)
public FlowContext startFlowSync(FlowIn flowIn, FlowContext parent)
public void setLock(IFlowLock lock)
public void setExecutor(ThreadPoolExecutor executor)
public void setScriptExecutor(IScriptExecutor scriptExecutor)
public IFlowService getFlowService()
Copyright © 2022. All rights reserved.