InstanceHealth
public record InstanceHealth(boolean healthy, String reason, int activeSessions)
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:125承载实例健康状态数据的记录类型。位于 io.agentscope.extensions.controlplane.model 包。核心成员包括 healthy、reason、activeSessions。
Liveness of this data plane instance.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
healthy | boolean | 执行 `healthy` 方法。 Performs the healthy operation. |
reason | String | 执行推理相关操作。 Performs the reason operation. |
activeSessions | int | 执行 `activeSessions` 方法。 Performs the active sessions operation. |
记录组件详情Record Component Detail
healthy
boolean healthy执行 healthy 方法。
Performs the healthy operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:125reason
String reason执行推理相关操作。
Performs the reason operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:125activeSessions
int activeSessions执行 activeSessions 方法。
Performs the active sessions operation.
源码Source
io/agentscope/extensions/controlplane/model/Inventory.java:125