Skip to content

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 ​

PropertyModifierTypeDescriptionDefined in
metricsByIdreadonlyMap<string, PoolCandidateRuntimeMetrics>Mutable runtime metrics indexed by candidate identifier.runtime/pools/pool-runtime-state.ts:32
poolIdreadonlystringUnique identifier of the PoolNode.runtime/pools/pool-runtime-state.ts:30
roundRobinCursorpublicnumberNext candidate index to inspect under 'round-robin' selection.runtime/pools/pool-runtime-state.ts:34
stickySeatByRunIdreadonlyMap<string, string>Map of active runId to sticky candidate identifier (seat.id).runtime/pools/pool-runtime-state.ts:36

Released under the MIT License.