Retry
public static class Retry
源码Source
io/agentscope/spring/boot/jev/JevProperties.java:94–117重试,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.spring.boot.jev 包。核心成员包括 getMaxRetries、setMaxRetries、getInitialBackoff、setInitialBackoff。
Retry policy settings.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Integer getMaxRetries() | 获取最大重试。 Returns the max retries. |
public void setMaxRetries(Integer maxRetries) | 设置最大重试。 Sets the max retries. |
public Duration getInitialBackoff() | 获取 `getInitialBackoff`。 Returns the initial backoff. |
public void setInitialBackoff(Duration initialBackoff) | 设置 `setInitialBackoff`。 Sets the initial backoff. |
方法详情Method Detail
getMaxRetries
public Integer getMaxRetries()
获取最大重试。
Returns the max retries.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/spring/boot/jev/JevProperties.java:102–104setMaxRetries
public void setMaxRetries(Integer maxRetries)
设置最大重试。
Sets the max retries.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
maxRetries | Integer | 最大重试(类型 `Integer`)。The max retries. |
源码Source
io/agentscope/spring/boot/jev/JevProperties.java:106–108getInitialBackoff
public Duration getInitialBackoff()
获取 getInitialBackoff。
Returns the initial backoff.
Duration返回时长。Returns duration.
源码Source
io/agentscope/spring/boot/jev/JevProperties.java:110–112setInitialBackoff
public void setInitialBackoff(Duration initialBackoff)
设置 setInitialBackoff。
Sets the initial backoff.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
initialBackoff | Duration | initial 退避(类型 `Duration`)。The initial backoff. |
源码Source
io/agentscope/spring/boot/jev/JevProperties.java:114–116