AS AgentScopeAPI 手册 / API Reference

HealthCheckController

@RestController public class HealthCheckController
源码Source io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:25–51

健康状态检查控制器,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.autoconfigure.controller 包。核心成员包括 healthCheck、readinessCheck、root、livenessCheck。

A class in io.agentscope.runtime.autoconfigure.controller that deploys, schedules and serves agents. Declared in io.agentscope.runtime.autoconfigure.controller.

方法摘要Method Summary

方法Method说明Description
public String healthCheck()
返回健康状态检查。
Returns the health check.
public String readinessCheck()
返回就绪检查检查。
Returns the readiness check.
public String root()
返回根。
Returns the root.
public String livenessCheck()
返回存活检查检查。
Returns the liveness check.

方法详情Method Detail

healthCheck

public String healthCheck()

返回健康状态检查。

Returns the health check.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:31–34

readinessCheck

public String readinessCheck()

返回就绪检查检查。

Returns the readiness check.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:36–40

root

public String root()

返回根。

Returns the root.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:42–45

livenessCheck

public String livenessCheck()

返回存活检查检查。

Returns the liveness check.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:47–50
基于官方固定版本源码静态生成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.