public class RedisStateRepository extends Object implements StateRepository
| Constructor and Description |
|---|
RedisStateRepository(org.noear.redisx.RedisClient client) |
RedisStateRepository(org.noear.redisx.RedisClient client,
String statePrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
stateClear(FlowContext context)
状态清空
|
StateType |
stateGet(FlowContext context,
Node node)
状态获取
|
void |
statePut(FlowContext context,
Node node,
StateType state)
状态推入
|
void |
stateRemove(FlowContext context,
Node node)
状态移除
|
public RedisStateRepository(org.noear.redisx.RedisClient client)
public RedisStateRepository(org.noear.redisx.RedisClient client,
String statePrefix)
public StateType stateGet(FlowContext context, Node node)
StateRepositorystateGet in interface StateRepositorypublic void statePut(FlowContext context, Node node, StateType state)
StateRepositorystatePut in interface StateRepositorypublic void stateRemove(FlowContext context, Node node)
StateRepositorystateRemove in interface StateRepositorypublic void stateClear(FlowContext context)
StateRepositorystateClear in interface StateRepositoryCopyright © 2025. All rights reserved.