AS AgentScopeAPI 手册 / API Reference

JevRetryPolicy

public record JevRetryPolicy(int maxRetries, Duration initialBackoff)
源码Source io/agentscope/extensions/judge/jev/JevRetryPolicy.java:23–38

承载 Jev 重试策略数据的记录类型。位于 io.agentscope.extensions.judge.jev 包。核心成员包括 maxRetries、initialBackoff、defaults、JevRetryPolicy。

Retry settings for transient Jev System One HTTP failures.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
maxRetriesint
执行最大重试相关操作。
Performs the max retries operation.
initialBackoffDuration
执行 `initialBackoff` 方法。
Performs the initial backoff operation.

构造器摘要Constructor Summary

构造器Constructor说明Description
public JevRetryPolicy(int maxRetries, Duration initialBackoff)
初始化 `JevRetryPolicy` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public static JevRetryPolicy defaults()
static
返回 `defaults` 结果。
Returns the defaults.

记录组件详情Record Component Detail

maxRetries

int maxRetries

执行最大重试相关操作。

Performs the max retries operation.

源码Source io/agentscope/extensions/judge/jev/JevRetryPolicy.java:23–38

initialBackoff

Duration initialBackoff

执行 initialBackoff 方法。

Performs the initial backoff operation.

源码Source io/agentscope/extensions/judge/jev/JevRetryPolicy.java:23–38

构造器详情Constructor Detail

JevRetryPolicy

public JevRetryPolicy(int maxRetries, Duration initialBackoff)

初始化 JevRetryPolicy 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
maxRetriesint最大重试(类型 `int`)。The max retries.
initialBackoffDurationinitial 退避(类型 `Duration`)。The initial backoff.
源码Source io/agentscope/extensions/judge/jev/JevRetryPolicy.java:29–37

方法详情Method Detail

defaults

public static JevRetryPolicy defaults()
static

返回 defaults 结果。

Returns the defaults.

返回Returns JevRetryPolicy
返回JevRetryPolicy。Returns jev retry policy.
源码Source io/agentscope/extensions/judge/jev/JevRetryPolicy.java:25–27
基于官方固定版本源码静态生成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.