AS AgentScopeAPI 手册 / API Reference

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
stateStoreAgentStateStore
执行状态存储相关操作。
Performs the state store operation.
userIdString
执行用户标识相关操作。
Performs the user id operation.
sessionIdString
执行会话标识相关操作。
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–34

userId

String userId

执行用户标识相关操作。

Performs the user id operation.

源码Source io/agentscope/core/shutdown/ShutdownSessionBinding.java:27–34

sessionId

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
stateStoreAgentStateStore状态存储(类型 `AgentStateStore`)。The state store.
userIdString用户标识(类型 `String`)。The user id.
sessionIdString会话标识(类型 `String`)。The session id.
源码Source io/agentscope/core/shutdown/ShutdownSessionBinding.java:30–33
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.