p
zoobie
package zoobie
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- zoobie
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait ConnectionPool extends AnyRef
- final case class ConnectionPoolConfig(name: String, size: Int, queueSize: Int, maxConnectionLifetime: Duration, validationTimeout: Duration) extends Product with Serializable
- size
number of connections to keep available
- queueSize
maximum number of requests waiting for a connection before a DatabaseError.Connection.Rejected is returned
- maxConnectionLifetime
maximum lifetime of a connection in the pool
- validationTimeout
the time-out to use when validating a connection after an error
- type DBIO[A] = ZIO[Any, DatabaseError, A]
- sealed abstract class DatabaseError extends RuntimeException
- Annotations
- @SuppressWarnings()
- sealed abstract class Transactor extends AnyRef
Value Members
- object ConnectionPool
- object DatabaseError extends Serializable
- object Transactor