AS AgentScopeAPI 手册 / API Reference

LeaseHandle

record LeaseHandle( String sessionId, String ownerId, String instanceId, long acquiredAt, long expiresAt)
源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148

承载 Lease Handle数据的记录类型。位于 io.agentscope.builder.web.coord 包。核心成员包括 sessionId、ownerId、instanceId、acquiredAt、expiresAt。

Opaque turn-lease snapshot.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionIdString
执行会话标识相关操作。
Performs the session id operation.
ownerIdString
执行所有者标识相关操作。
Performs the owner id operation.
instanceIdString
执行实例标识相关操作。
Performs the instance id operation.
acquiredAtlong
执行 `acquiredAt` 方法。
Performs the acquired at operation.
expiresAtlong
执行过期 At相关操作。
Performs the expires at operation.

记录组件详情Record Component Detail

sessionId

String sessionId

执行会话标识相关操作。

Performs the session id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148

ownerId

String ownerId

执行所有者标识相关操作。

Performs the owner id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148

instanceId

String instanceId

执行实例标识相关操作。

Performs the instance id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148

acquiredAt

long acquiredAt

执行 acquiredAt 方法。

Performs the acquired at operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148

expiresAt

long expiresAt

执行过期 At相关操作。

Performs the expires at operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:147–148
基于官方固定版本源码静态生成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.