LocalDeployManager
public class LocalDeployManager implements DeployManager
io/agentscope/runtime/LocalDeployManager.java:42–188本地部署管理器,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime 包,实现 DeployManager。核心成员包括 deploy、shutdown、builder。
A class in io.agentscope.runtime that deploys, schedules and serves agents. Declared in io.agentscope.runtime. Implements DeployManager.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
LocalDeployConfig | 类class | 用于本地部署的流式服务的配置类。 Configuration class for local deployment of streaming services. |
LocalDeployerManagerBuilder | 类class | 本地 Deployer 管理器构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime that deploys, schedules and serves agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public synchronized void deploy(Runner runner)synchronized | 设置部署。 Performs the deploy operation. |
public synchronized void shutdown()synchronized | 关闭资源并释放连接。 Shutdown the application and clean up resources |
public static LocalDeployerManagerBuilder builder()static | 返回构建器实例。 Returns the builder. |
方法详情Method Detail
deploy
public synchronized void deploy(Runner runner)
设置部署。
Performs the deploy operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
runner | Runner | 运行器(类型 `Runner`)。The runner. |
io/agentscope/runtime/LocalDeployManager.java:63–116shutdown
public synchronized void shutdown()
关闭资源并释放连接。
Shutdown the application and clean up resources
io/agentscope/runtime/LocalDeployManager.java:121–128builder
public static LocalDeployerManagerBuilder builder()
返回构建器实例。
Returns the builder.
LocalDeployerManagerBuilderio/agentscope/runtime/LocalDeployManager.java:142–144嵌套类详情Nested Class Detail
LocalDeployConfig
@Configuration @EnableAutoConfiguration @ComponentScan(basePackages = { "io.agentscope.runtime.autoconfigure" }) public static class LocalDeployConfig用于本地部署的流式服务的配置类。位于 io.agentscope.runtime 包。
Configuration class for local deployment of streaming services. This class enables component scanning for A2A controllers and other Spring components.
LocalDeployerManagerBuilder
public static class LocalDeployerManagerBuilder本地 Deployer 管理器构建器,用于构建并配置目标实例。位于 io.agentscope.runtime 包。核心成员包括 endpointName、host、port、protocols、protocolConfigs、corsConfigurer。
A class in io.agentscope.runtime that deploys, schedules and serves agents. Declared in io.agentscope.runtime.