trait ConnectionPool extends AnyRef

Connection pool API for managing data sources.

Source
ConnectionPool.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionPool
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(dataSource: DataSource): Unit

    Close the given data source.

    Close the given data source.

    dataSource

    the data source to close

  2. abstract def create(name: String, dbConfig: DatabaseConfig, configuration: Config): DataSource

    Create a data source with the given configuration.

    Create a data source with the given configuration.

    name

    the database name

    configuration

    the data source configuration

    returns

    a data source backed by a connection pool