FlushMode
public enum FlushMode
源码Source
io/agentscope/harness/agent/memory/MemoryConfig.java:67–74定义刷新模式相关取值的枚举。位于 io.agentscope.harness.agent.memory 包。核心成员包括 ALWAYS、NEVER、THROTTLED。
Strategy for the per-call flush hook. See FlushTrigger.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
ALWAYS | 执行 `ALWAYS` 方法。 Flush after every agent call. |
NEVER | 执行 `NEVER` 方法。 Disable per-call flush entirely (offload still runs). |
THROTTLED | 执行 `THROTTLED` 方法。 Flush at most once per `FlushTrigger#minGap()`. |
枚举常量详情Enum Constant Detail
ALWAYS
ALWAYS
staticfinal
执行 ALWAYS 方法。
Flush after every agent call.
源码Source
io/agentscope/harness/agent/memory/MemoryConfig.java:69NEVER
NEVER
staticfinal
执行 NEVER 方法。
Disable per-call flush entirely (offload still runs).
源码Source
io/agentscope/harness/agent/memory/MemoryConfig.java:71THROTTLED
THROTTLED
staticfinal
执行 THROTTLED 方法。
Flush at most once per FlushTrigger#minGap().
源码Source
io/agentscope/harness/agent/memory/MemoryConfig.java:73