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.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:31–34readinessCheck
public String readinessCheck()
返回就绪检查检查。
Returns the readiness check.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:36–40root
public String root()
返回根。
Returns the root.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:42–45livenessCheck
public String livenessCheck()
返回存活检查检查。
Returns the liveness check.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/autoconfigure/controller/HealthCheckController.java:47–50