public class QuickFlow extends Object
| 构造器和说明 |
|---|
QuickFlow() |
| 限定符和类型 | 方法和说明 |
|---|---|
QuickFlow |
build()
生成对象
|
QuickFlow |
flowListener(QuickFlowListener quickFlowListener)
事件监听
|
static QuickFlow |
newInstance() |
QuickFlow |
printConsumeTime(boolean printConsumeTime)
是否记录流程耗时
|
QuickFlow |
printTrace(boolean printTrace)
是否打印执行路径
|
QuickFlowExecutor |
startFlow()
构建流程
|
QuickFlowExecutor |
startFlow(String name)
构建流程
|
QuickFlow |
threadPool(ThreadPoolExecutor threadPoolExecutor)
指定异步任务执行线程池
|
QuickFlow |
tryCatchFinallyHandler(TryCatchFinallyHandler tryCatchFinallyHandler)
指定try-catch-finally处理器
|
public static QuickFlow newInstance()
public QuickFlow threadPool(ThreadPoolExecutor threadPoolExecutor)
public QuickFlow flowListener(QuickFlowListener quickFlowListener)
public QuickFlow printTrace(boolean printTrace)
public QuickFlow printConsumeTime(boolean printConsumeTime)
public QuickFlow tryCatchFinallyHandler(TryCatchFinallyHandler tryCatchFinallyHandler)
public QuickFlow build()
public QuickFlowExecutor startFlow()
public QuickFlowExecutor startFlow(String name)
Copyright © 2023. All rights reserved.