类 AgentScopeJvmShutdownHook

java.lang.Object
io.agentscope.core.shutdown.AgentScopeJvmShutdownHook

public final class AgentScopeJvmShutdownHook extends Object
JVM hook for SIGTERM graceful shutdown entry.

Shutdown order:

  1. Trigger graceful shutdown (reject new requests, interrupt at checkpoints)
  2. Wait for all active agent requests to complete or timeout
  3. Close HTTP transports (only after agents are done)