public class DataBus extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static AtomicInteger |
OCCUPY_COUNT |
| 构造器和说明 |
|---|
DataBus() |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<cn.hutool.core.lang.Tuple> |
getContextBeanList(int slotIndex) |
static Slot |
getSlot(int slotIndex) |
static void |
init()
这里原先版本中是static块,现在改成init静态方法,由FlowExecutor中的init去调用
这样的改动对项目来说没有什么实际意义,但是在单元测试中,却有意义。
|
static int |
offerSlotByBean(List<Object> contextList) |
static int |
offerSlotByClass(List<Class<?>> contextClazzList) |
static void |
releaseSlot(int slotIndex) |
public static AtomicInteger OCCUPY_COUNT
public static void init()
public static Slot getSlot(int slotIndex)
public static List<cn.hutool.core.lang.Tuple> getContextBeanList(int slotIndex)
public static void releaseSlot(int slotIndex)
Copyright © 2024. All rights reserved.