public class DataBus extends Object
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
OCCUPY_COUNT |
| Constructor and Description |
|---|
DataBus() |
| Modifier and Type | Method and Description |
|---|---|
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 © 2025. All rights reserved.