ShutdownSessionBinding
@Deprecated(since = "2.0.0", forRemoval = true) public record ShutdownSessionBinding(AgentStateStore stateStore, String userId, String sessionId)
源码Source
io/agentscope/core/shutdown/ShutdownSessionBinding.java:27–34承载 Shutdown 会话绑定数据的记录类型。位于 io.agentscope.core.shutdown 包。核心成员包括 stateStore、userId、sessionId、ShutdownSessionBinding。
AgentStateStore binding used for shutdown checkpoint persistence.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
stateStore | AgentStateStore | 执行状态存储相关操作。 Performs the state store operation. |
userId | String | 执行用户标识相关操作。 Performs the user id operation. |
sessionId | String | 执行会话标识相关操作。 Performs the session id operation. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public ShutdownSessionBinding(AgentStateStore stateStore, String userId, String sessionId) | 初始化 `ShutdownSessionBinding` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
stateStore
AgentStateStore stateStore执行状态存储相关操作。
Performs the state store operation.
源码Source
io/agentscope/core/shutdown/ShutdownSessionBinding.java:27–34userId
String userId执行用户标识相关操作。
Performs the user id operation.
源码Source
io/agentscope/core/shutdown/ShutdownSessionBinding.java:27–34sessionId
String sessionId执行会话标识相关操作。
Performs the session id operation.
源码Source
io/agentscope/core/shutdown/ShutdownSessionBinding.java:27–34构造器详情Constructor Detail
ShutdownSessionBinding
public ShutdownSessionBinding(AgentStateStore stateStore, String userId, String sessionId)
初始化 ShutdownSessionBinding 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
stateStore | AgentStateStore | 状态存储(类型 `AgentStateStore`)。The state store. |
userId | String | 用户标识(类型 `String`)。The user id. |
sessionId | String | 会话标识(类型 `String`)。The session id. |
源码Source
io/agentscope/core/shutdown/ShutdownSessionBinding.java:30–33