Skip to main content

Module datasource

Module datasource 

Source
Expand description

§datasource — single-ring adapter module

Runtime catalog of datasource pools keyed by name, with a PoolFactory registry and lazy OnceCell pool initialization.

§Ring classification (ADR-0045 §5)

Single-ring Interface Adapters module. RuntimeDatasourceCatalog holds dashmap::DashMap, tokio::sync::OnceCell, parking_lot::RwLock fields and orchestrates framework I/O via get_pool/resolve_factory. Earlier 3-ring split mislabeled the stateful catalog as “domain”; this single-file adapter form corrects the label so the dependency rule holds.

Structs§

RuntimeDatasourceCatalog