| Package | Description |
|---|---|
| org.noear.solon.flow.stateful | |
| org.noear.solon.flow.stateful.repository |
| Modifier and Type | Method and Description |
|---|---|
static StateType |
StateType.codeOf(int code)
根据代码构建
|
StateType |
StatefulTask.getState()
状态
|
StateType |
StateRepository.getState(FlowContext context,
Node node)
获取状态
|
static StateType |
StateType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateType[] |
StateType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StateRepository.putState(FlowContext context,
Node node,
StateType state)
推入状态
|
| Constructor and Description |
|---|
StatefulTask(Node node,
StateType state) |
| Modifier and Type | Method and Description |
|---|---|
StateType |
InMemoryStateRepository.getState(FlowContext context,
Node node) |
StateType |
RedisStateRepository.getState(FlowContext context,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryStateRepository.putState(FlowContext context,
Node node,
StateType state) |
void |
RedisStateRepository.putState(FlowContext context,
Node node,
StateType state) |
Copyright © 2025. All rights reserved.