zoobie

package zoobie

Members list

Packages

package zoobie.mysql
package zoobie.postgres
package zoobie.test

Type members

Classlikes

Attributes

Companion
object
Source
ConnectionPool.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
ConnectionPool.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class ConnectionPoolConfig(name: String, size: Int, queueSize: Int, maxConnectionLifetime: Duration, validationTimeout: Duration)

Value parameters

maxConnectionLifetime

maximum lifetime of a connection in the pool

queueSize

maximum number of requests waiting for a connection before a DatabaseError.Connection.Rejected is returned

size

number of connections to keep available

validationTimeout

the time-out to use when validating a connection after an error

Attributes

Source
ConnectionPoolConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class ConnectionProxy(connection: Connection) extends Connection

Attributes

Source
ConnectionProxy.scala
Supertypes
trait Connection
trait AutoCloseable
trait Wrapper
class Object
trait Matchable
class Any
Show all
sealed abstract class DatabaseError(val msg: String, cause: Option[Throwable]) extends RuntimeException

Attributes

Companion
object
Source
DatabaseError.scala
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Rejected
class Transient
trait Connection
class Unhandled
class Invariant
class SQL
trait Utilization
Show all
object DatabaseError

Attributes

Companion
class
Source
DatabaseError.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class Transactor

Attributes

Companion
object
Source
Transactor.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Transactor

Attributes

Companion
class
Source
Transactor.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Transactor.type

Types

type DBIO[A] = ZIO[Any, DatabaseError, A]

Attributes

Source
package.scala