Packages

p

slick.jdbc

hikaricp

package hikaricp

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class HikariCPJdbcDataSource extends JdbcDataSource

    A JdbcDataSource for a HikariCP connection pool.

    A JdbcDataSource for a HikariCP connection pool. See the "Connection pools" section of the Slick manual for documentation on the config parameters.

    ds is the running HikariCP pool and hconf its configuration. To register metrics or health checks (e.g. setMetricRegistry, setMetricsTrackerFactory or setHealthCheckRegistry), write your own slick.jdbc.JdbcDataSourceFactory object that gets the configuration from HikariCPJdbcDataSource.hikariConfig, sets them on it and then creates the pool, and name that object in the connectionPool setting. HikariCP does not allow a health check registry to be set on a running pool.

Value Members

  1. object HikariCPJdbcDataSource extends JdbcDataSourceFactory

Ungrouped