Class DataSourceFactory
java.lang.Object
com.knezevic.edaf.v3.persistence.jdbc.DataSourceFactory
Creates pooled
DataSource instances used by EDAF persistence/query layers.
For SQLite, the factory applies concurrency-friendly defaults that reduce lock contention:
journal_mode=WAL: enables concurrent readers with one writer.busy_timeout=10000: lets SQLite wait before returningSQLITE_BUSY.synchronous=NORMAL: practical durability/performance trade-off for run telemetry.- small multi-connection pool: prevents local self-starvation between writer and stop-poll reads.
For non-SQLite JDBC URLs, conservative generic pool defaults are used.
-
Method Summary
-
Method Details
-
create
-