H2TransactorOps

doobie.h2.syntax.H2TransactorOps
final class H2TransactorOps[M[_]](h2: H2Transactor[M])(implicit ev: Sync[M])

Attributes

Source
h2transactor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def setLoginTimeout(seconds: Int): M[Unit]

Sets the maximum time in seconds to wait for a free connection.

Sets the maximum time in seconds to wait for a free connection.

Attributes

Source
h2transactor.scala
def setMaxConnections(max: Int): M[Unit]

Sets the maximum number of connections to use from now on.

Sets the maximum number of connections to use from now on.

Attributes

Source
h2transactor.scala

Concrete fields

val dispose: M[Unit]

A program that shuts down this H2Transactor.

A program that shuts down this H2Transactor.

Attributes

Source
h2transactor.scala
val getActiveConnections: M[Int]

Returns the number of active (open) connections of the underlying JdbcConnectionPool.

Returns the number of active (open) connections of the underlying JdbcConnectionPool.

Attributes

Source
h2transactor.scala
val getLoginTimeout: M[Int]

Gets the maximum time in seconds to wait for a free connection.

Gets the maximum time in seconds to wait for a free connection.

Attributes

Source
h2transactor.scala
val getMaxConnections: M[Int]

Gets the maximum number of connections to use.

Gets the maximum number of connections to use.

Attributes

Source
h2transactor.scala