ExecutionAttemptCommandHandler
@FunctionalInterface public interface ExecutionAttemptCommandHandler
源码Source
io/agentscope/extensions/controlplane/transport/GrpcTransport.java:73–76定义执行尝试命令处理器契约的接口。位于 io.agentscope.extensions.controlplane.transport 包。核心成员包括 onExecutionAttempt。
Receives a fenced execution-attempt command from the control plane.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public void onExecutionAttempt(ExecutionAttemptCommand command) | 处理执行尝试事件。 Performs the on execution attempt operation. |
方法详情Method Detail
onExecutionAttempt
public void onExecutionAttempt(ExecutionAttemptCommand command)
处理执行尝试事件。
Performs the on execution attempt operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
command | ExecutionAttemptCommand | 命令(类型 `ExecutionAttemptCommand`)。The command. |
源码Source
io/agentscope/extensions/controlplane/transport/GrpcTransport.java:75