ConnectionPoolConfig

zoobie.ConnectionPoolConfig
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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product