Interface: PoolRuntimeState
Defined in: runtime/pools/pool-runtime-state.ts:28
Per-pool runtime state managed by PoolManager (SPEC.md §3.2).
Stores candidate telemetry metrics, round-robin cursor position, and run-sticky seat affinity mappings for a single PoolNode.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
metricsById | readonly | Map<string, PoolCandidateRuntimeMetrics> | Mutable runtime metrics indexed by candidate identifier. | runtime/pools/pool-runtime-state.ts:32 |
poolId | readonly | string | Unique identifier of the PoolNode. | runtime/pools/pool-runtime-state.ts:30 |
roundRobinCursor | public | number | Next candidate index to inspect under 'round-robin' selection. | runtime/pools/pool-runtime-state.ts:34 |
stickySeatByRunId | readonly | Map<string, string> | Map of active runId to sticky candidate identifier (seat.id). | runtime/pools/pool-runtime-state.ts:36 |