AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.shutdown

io.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.

所属构件Artifacts agentscope-core

接口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.
基于官方固定版本源码静态生成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.