包package
io.agentscope.core.shutdownio.agentscope.core.shutdown
package io.agentscope.core.shutdown
io.agentscope.core.shutdown 属于基础设施,类型、异常、传输与工具函数。 该包共收录 9 个公开类型。
io.agentscope.core.shutdown belongs to the Infrastructure layer and contains 9 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
ShutdownStateSaver | 接口interface | 定义 Shutdown 状态 Saver契约的接口。 Strategy for persisting `AgentState` during graceful shutdown. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AgentScopeJvmShutdownHook | 类class | AgentScope Jvm Shutdown 钩子,为框架提供通用类型与基础能力。 JVM hook for SIGTERM graceful shutdown entry. |
AgentShuttingDownException | 类class | 智能体 Shutting Down 异常,表示执行过程中的错误。 Exception thrown when request is rejected or interrupted during shutdown. |
GracefulShutdownManager | 类class | Graceful Shutdown 管理器,为框架提供通用类型与基础能力。 Global manager for graceful shutdown lifecycle and active request tracking. |
GracefulShutdownMiddleware | 类class | Graceful Shutdown 中间件,在智能体执行流程中提供横切扩展。 System middleware that integrates graceful shutdown into the agent lifecycle. |
枚举Enums
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
PartialReasoningPolicy | 枚举enum | 定义Partial 推理策略相关取值的枚举。 Policy for handling incomplete reasoning content on shutdown interruption. |
ShutdownState | 枚举enum | 定义Shutdown 状态的枚举。 Global framework shutdown state. |
记录Records
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
GracefulShutdownConfig | 记录record | 承载 Graceful Shutdown 配置数据的记录类型。 Configuration for graceful shutdown behavior of the agent system. |
ShutdownSessionBinding | 记录record | 承载 Shutdown 会话绑定数据的记录类型。 AgentStateStore binding used for shutdown checkpoint persistence. |