CoordinationReconciler
@Component public class CoordinationReconciler
源码Source
io/agentscope/builder/web/coord/CoordinationReconciler.java:42–139Coordination Reconciler,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.web.coord 包。核心成员包括 start、stop、CoordinationReconciler。
Reconciles expired turn leases and HITL tickets so multi-replica Brain fleets do not leave
sessions stuck in running / requires_action.
Session rows live on the control plane; orphan recovery without a local session table relies on expired turn leases rather than scanning all sessions.
构造器摘要Constructor Summary
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public void start() | 执行启动相关操作。 Returns the start. |
public void stop() | 执行停止相关操作。 Returns the stop. |
构造器详情Constructor Detail
CoordinationReconciler
public CoordinationReconciler(CoordinationStore coordinationStore, DataSessionService sessionService, SessionEventLog eventLog, ToolConfirmationCoordinator confirmationCoordinator)
初始化 CoordinationReconciler 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
coordinationStore | CoordinationStore | coordination 存储(类型 `CoordinationStore`)。The coordination store. |
sessionService | DataSessionService | 会话服务(类型 `DataSessionService`)。The session service. |
eventLog | SessionEventLog | 事件日志(类型 `SessionEventLog`)。The event log. |
confirmationCoordinator | ToolConfirmationCoordinator | 确认 Coordinator(类型 `ToolConfirmationCoordinator`)。The confirmation coordinator. |
源码Source
io/agentscope/builder/web/coord/CoordinationReconciler.java:60–69方法详情Method Detail
start
public void start()
执行启动相关操作。
Returns the start.
源码Source
io/agentscope/builder/web/coord/CoordinationReconciler.java:71–75stop
public void stop()
执行停止相关操作。
Returns the stop.
源码Source
io/agentscope/builder/web/coord/CoordinationReconciler.java:77–80