SandboxKey
public record SandboxKey(String userID, String sessionID, String sandboxType)
源码Source
io/agentscope/runtime/sandbox/manager/model/container/SandboxKey.java:22–29承载沙箱键数据的记录类型。位于 io.agentscope.runtime.sandbox.manager.model.container 包。核心成员包括 userID、sessionID、sandboxType、toString。
A record in io.agentscope.runtime.sandbox.manager.model.container that carries data used when components talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.sandbox.manager.model.container.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
userID | String | 执行用户标识相关操作。 Performs the user ID operation. |
sessionID | String | 执行会话标识相关操作。 Performs the session ID operation. |
sandboxType | String | 执行沙箱类型相关操作。 Performs the sandbox type operation. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String toString() | 返回 `toString` 结果。 Returns the to string. |
记录组件详情Record Component Detail
userID
String userID执行用户标识相关操作。
Performs the user ID operation.
源码Source
io/agentscope/runtime/sandbox/manager/model/container/SandboxKey.java:22–29sessionID
String sessionID执行会话标识相关操作。
Performs the session ID operation.
源码Source
io/agentscope/runtime/sandbox/manager/model/container/SandboxKey.java:22–29sandboxType
String sandboxType执行沙箱类型相关操作。
Performs the sandbox type operation.
源码Source
io/agentscope/runtime/sandbox/manager/model/container/SandboxKey.java:22–29方法详情Method Detail
toString
public String toString()
返回 toString 结果。
Returns the to string.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/sandbox/manager/model/container/SandboxKey.java:25–28