Recyclers

skunk.Session$.Recyclers$
object Recyclers

Attributes

Source:
Session.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def ensureIdle[F[_] : Monad]: Recycler[F, Session[F]]

Yield true the session is idle (i.e., that there is no ongoing transaction), otherwise yield false. This check does not require network IO.

Yield true the session is idle (i.e., that there is no ongoing transaction), otherwise yield false. This check does not require network IO.

Attributes

Source:
Session.scala
def full[F[_] : Monad]: Recycler[F, Session[F]]

Ensure the session is idle, then remove all channel listeners and reset all variables to system defaults. Note that this is usually more work than you need to do. If your application isn't running arbitrary statements then minimal might be more efficient.

Ensure the session is idle, then remove all channel listeners and reset all variables to system defaults. Note that this is usually more work than you need to do. If your application isn't running arbitrary statements then minimal might be more efficient.

Attributes

Source:
Session.scala
def minimal[F[_] : Monad]: Recycler[F, Session[F]]

Ensure the session is idle, then run a trivial query to ensure the connection is in working order. In most cases this check is sufficient.

Ensure the session is idle, then run a trivial query to ensure the connection is in working order. In most cases this check is sufficient.

Attributes

Source:
Session.scala
def resetAll[F[_] : Functor]: Recycler[F, Session[F]]

Reset all variables to system defaults and yield true.

Reset all variables to system defaults and yield true.

Attributes

Source:
Session.scala
def unlistenAll[F[_] : Functor]: Recycler[F, Session[F]]

Remove all channel listeners and yield true.

Remove all channel listeners and yield true.

Attributes

Source:
Session.scala