object ConnectionPool

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

Value Members

  1. def extractUrl(maybeUrl: Option[String], mode: Mode): (Option[String], Option[(String, String)])

    Extract the given URL.

    Extract the given URL.

    Supports shortcut URLs for postgres and mysql, and also adds various default parameters as appropriate.

  2. def fromConfig(config: String, environment: Environment, default: ConnectionPool): ConnectionPool

    Load a connection pool from a configured connection pool.

    Load a connection pool from a configured connection pool. This is intended to be used with compile-time dependency injection and then it does not accepts an Injector.

  3. def fromConfig(config: String, injector: Injector, environment: Environment, default: ConnectionPool): ConnectionPool

    Load a connection pool from a configured connection pool